delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/31/20:40:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,TW_MK
X-Spam-Check-By: sourceware.org
From: "Christian Gelinek" <cgelinek AT radlogic DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <000d01cbef30$86c99e60$945cdb20$@com.au> <20110331144246 DOT GI13484 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110331144246.GI13484@calimero.vinschen.de>
Subject: RE: mkgroup: Could not get group info from samba share
Date: Fri, 1 Apr 2011 11:09:47 +1030
Message-ID: <001401cbf005$4dffe5f0$e9ffb1d0$@com.au>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> -----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
>=20
> 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
> > >=20
> > > On Mar 30 10:53, Christian Gelinek wrote:
> > > > Here, I was out of luck as this command did not return anything. I =
also
> > > > tried
> > > >=20
> > > >   mkgroup -U username -S- -D my_samba_box
> > > >=20
> > > > but that reported 'mkgroup (102): [1355] The specified domain eithe=
r does
> > > > not exist or could not be contacted'.
> > >=20
> > > Try
> > >=20
> > >   mkgroup -U username -S- -L my_samba_box
> > >=20
> > > 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:
> > >=20
> >=20
> > In my previous message, I mentioned that I already tried that and it di=
d 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 ret=
urned by=20
> >=20
> >   mkgroup -U username -S- -L my_samba_box
> >=20
> > is empty?
>=20
> Erm, serves me right to use copy/paste.  What I meant to write is
>=20
>   mkgroup -U groupname -S- -L my_samba_box
>=20
> 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 - fin=
ally, 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019