[Samba] Check whether a unix user is a samba user

Jelmer Vernooij jelmer at vernstok.nl
Sun Nov 9 17:29:34 GMT 2003


On Sun, Nov 09, 2003 at 10:25:05AM -0600, McKeever Chris wrote about 'Re: [Samba] Check whether a unix user is a samba user':
> On Sun, 9 Nov 2003 13:11 , romildo at uber.com.br sent:
> >What is the command one should use
> >to check whether a unix user is a
> >samba user (that is, its username is
> >in one of the samba password backends).
> you can do a grep 'username' /etc/smb/smbpasswd 
try doing a 'pdbedit -u username'

Jelmer
-- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://jelmer.vernstok.nl/



More information about the samba mailing list