[Samba] Re: User Manager For Domains - SAMBA 3.0.1-2

rruegner robowarp at gmx.de
Mon Dec 29 19:13:41 GMT 2003


Hi,
usrmgr is working very fine for me
one miracle is that usmgr should be stored on a smb share, and as client you
should use a trusted !!! win computer from the samba domain,
some features will only work with this setup, specially adding users
(results of my tests),
you should be root ( admin user ) to do all stuff
check attached conf which is valid for suse 9.0 samba 3.01, samba as pdc,
compare parameters maybe you have some typos too.
there are some entries in bugzilla relate to usrmgr a study of this should
be helpfull too
Best Regards
----- Original Message ----- 
From: "Erik Holst Trans" <eht at it-trans.dk>
To: <samba at lists.samba.org>
Sent: Monday, December 29, 2003 6:52 PM
Subject: [Samba] Re: User Manager For Domains - SAMBA 3.0.1-2


> Hi again,
>
> Well i did not get any response to my problem :-(
>
> The only thing i have noticed since my last posting is a log entry that
> seems to show up when i try to add a user with the "User Manager For
> Domains" (on windws 98se)
>
> I also tried to make my own "add user script" in perl, that make use of
> both the "adduser" and "smbpasswd" commands.
> But no success.
>
> This is the entry from the log.
>
> [2003/12/28 20:41:36, 1] smbd/ipc.c:api_fd_reply(292)
>   api_fd_reply: INVALID PIPE HANDLE: ffff
>
> I suppose that means  that "UMFD" is not supported, but i find that
> difficult to belive cause the delete and change group member ship
> functions works great.
>
>
> //Erik
>
>
> Erik Holst Trans wrote:
>
> > Hi,
> >
> > I,m running Samba 3.0.1-2  on a RedHat 9.0 box, and would like to use
> > the "User Manager for Domains" tool to control users and groups.
> > But i can't get it to work proberly.
> >
> > Deleting users and groups, change group membership on users works
> > fine, but adding users and groups does not.
> >
> > I have tried to find out how well the "User Manager for Domains" is
> > supported in Samba 3.0.1-2, but without success.
> > Does anybody have some experience with this tool ?
> >
> > In my smb.conf i have added the following lines:
> >
> > //--snip--//
> >
> > add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s
> > /bin/false -M "%u"
> > add user script = /usr/sbin/useradd "%u"
> > add group script = /usr/sbin/groupadd "%g"
> > add user to group script = /usr/bin/gpasswd -a "%u" "%g"
> > delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
> > set primary group script = /usr/sbin/usermod -g "%g" "%u"
> > delete user script = /usr/sbin/userdel "%u"
> > delete group script = /usr/sbin/groupdel "%g"
> >
> > //--snip--//
> >
> >
> > Best regards
> > Erik Holst Trans
> >
> >
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list