[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
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:
> >>>Administrator:x:0:5001:Netbios Domain
> >>When i stop the nscd service the behaviour of the system returns to
> >>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,
> Co. Galway,
> P : ++353 93 23151
> F : ++353 93 23110
> E : mailto:clancyian at cel.ie
> W : http://www.cel-europe.com
John H Terpstra, CTO
Phone: +1 (650) 580-8668
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