This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: mkgroup: Could not get group info from samba share
- From: "Christian Gelinek" <cgelinek at radlogic dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Fri, 1 Apr 2011 11:09:47 +1030
- Subject: RE: mkgroup: Could not get group info from samba share
- References: <000d01cbef30$86c99e60$945cdb20$@com.au> <20110331144246.GI13484@calimero.vinschen.de>
> -----Original Message-----
> From: Cygwin On Behalf Of Corinna Vinschen
> Sent: Friday, 1 April 2011 1:13 AM
> Subject: Re: mkgroup: Could not get group info from samba share
>
> On Mar 31 09:46, Christian Gelinek wrote:
> > -----Original Message-----
> > From: Cygwin On Behalf Of Corinna Vinschen
> > Sent: Wednesday, 30 March 2011 6:51 PM
> > Subject: Re: mkgroup: Could not get group info from samba share
> > >
> > > On Mar 30 10:53, Christian Gelinek wrote:
> > > > Here, I was out of luck as this command did not return anything. I also
> > > > tried
> > > >
> > > > mkgroup -U username -S- -D my_samba_box
> > > >
> > > > but that reported 'mkgroup (102): [1355] The specified domain either does
> > > > not exist or could not be contacted'.
> > >
> > > Try
> > >
> > > mkgroup -U username -S- -L my_samba_box
> > >
> > > When you use -D, it's looking for the domain name "my_samba_box", but
> > > you're trying to get the group list from the machine called
> > > "my_samba_box". See mkgroup --help and the User's Guide:
> > >
> >
> > In my previous message, I mentioned that I already tried that and it did not return anything. Only because it didn't work was that I tried the -D option which I found in the documentation. Any suggestions why the list returned by
> >
> > mkgroup -U username -S- -L my_samba_box
> >
> > is empty?
>
> Erm, serves me right to use copy/paste. What I meant to write is
>
> mkgroup -U groupname -S- -L my_samba_box
>
> You have to specify the groupname(s) as args to the -U option when
> using the mkgroup command. Using the username doesn't help.
Thanks a lot, should have guessed that myself! Works like a charm now - finally, correct flags and users/groups from my Samba share in Cygwin!
Christian
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple