[Samba] nscd, ldap and the root/Administrator account
John H Terpstra
jht at PrimaStasys.Com
Tue May 3 11:50:33 GMT 2005
On Tuesday 03 May 2005 05:40, Ian Clancy wrote:
> > It
> >doesn't really support multiple accounts with the same uidnumber, id
> >suggest not having a Administration;uidnumber=0 account. Simply map
> >Administrator = root in Samba if this is the behaviour you want.
>
> I'm not sure how to map Administrator = root. Sounds like a good idea. I
> will have to look into this.
In smb.conf [global]:
usermap file = /etc/samba/smbusers
In /etc/samba/smbusers:
Administrator = root
- John T.
> >>I have the following lines in my nsswitch.conf file.
> >>
> >>>passwd: files ldap
> >>>shadow: files ldap
> >>>group: files ldap
> >>
> >>grepping the output of 'getent passwd' for x:0:
> >>>root:x:0:0:root:/root:/bin/bash
> >>>Administrator:x:0:5001:Netbios Domain
> >>>Administrator:/home/Administrator:/bin/bash
> >>
> >>When i stop the nscd service the behaviour of the system returns to
> >
> >normal.
> >
> >>I apologise if this topic is not directly samba related. However, i'm
> >>sure somebody else must have come accross this behaviour.
> >
> >nscd is just a dumb cache, you're getting the results of a uidnumber=0
> >lookup into its cache.
>
> Thanks for your reply
>
> --
> Ian Clancy
> IT Systems Engineer
> Connaught Electronics Ltd.
> Dunmore Rd,
> Tuam,
> Co. Galway,
> Ireland.
>
> P : ++353 93 23151
> F : ++353 93 23110
> E : mailto:clancyian at cel.ie
> W : http://www.cel-europe.com
--
John H Terpstra, CTO
PrimaStasys Inc.
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.
More information about the samba
mailing list