Dear Sirs, is there a tool which performs check between /etc/passwd and PREFIX/private/smbpasswd ? (I mean different UID when username is the same, missing entries, duplicate entries, etc....) Regards, Ilia Chipitsine
"Ilia E. Chipitsine" wrote:> is there a tool which performs check between /etc/passwd and > PREFIX/private/smbpasswd ? (I mean different UID when username is the > same, missing entries, duplicate entries, etc....)I use the following, although it needs a bit more work for documentation plus some command line arguments... Kevin -- | Kevin Wheatley | These are the opinions of nobody | | Special Branch (Projects) | and are not shared by my employers | | Cinesite Digital Studios | | -------------- next part -------------- A non-text attachment was scrubbed... Name: passwd_sanity.pl Type: application/x-perl Size: 9763 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020305/50270108/passwd_sanity.bin
>From: "Ilia E. Chipitsine" <ilia@cgu.chel.su> >To: <samba@samba.org> >Subject: [Samba] sync between passwd and smbpasswd >Date: Tue, 5 Mar 2002 18:21:41 +0500 (YEKT) > >Dear Sirs, > >is there a tool which performs check between /etc/passwd and >PREFIX/private/smbpasswd ? (I mean different UID when username is the >same, missing entries, duplicate entries, etc....)Not that I know of. And if you find one I'd really like to know about it, because I'm about to have to write one myself. Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime)