Re: getent passwd which works for unprefixed Windows user names with both local and domain users?

2024-12-10 Thread Brian Inglis via Cygwin
On 2024-12-10 06:35, Cedric Blancher via Cygwin wrote: Good afternoon! We have a Win10 env with mixed local and domain accounts. We cannot lookup up local AND domain users with just the plain username from Windows. Instead we have to do lookups twice: 1. Configuration: $ hostname LAB14

Re: getent passwd which works for unprefixed Windows user names with both local and domain users?

2024-12-10 Thread Bill Stewart via Cygwin
On Tue, Dec 10, 2024 at 6:37 AM Cedric Blancher wrote: We have a Win10 env with mixed local and domain accounts. > We cannot lookup up local AND domain users with just the plain > username from Windows. Instead we have to do lookups twice: > I don't know the Cygwin solution, but

getent passwd which works for unprefixed Windows user names with both local and domain users?

2024-12-10 Thread Cedric Blancher via Cygwin
Good afternoon! We have a Win10 env with mixed local and domain accounts. We cannot lookup up local AND domain users with just the plain username from Windows. Instead we have to do lookups twice: 1. Configuration: $ hostname LAB14 $ getent passwd LAB14+SW-Install:*:197611:197121:U-LAB14\SW

Re: getent doesn't show all domain users

2019-06-03 Thread Jose Isaias Cabrera
Corinna Vinschen, on Monday, June 3, 2019 07:14 AM, wrote... > > The user's guide! Probably the most unread document of all times... ;) Indeed. :-) josé -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwi

Re: getent doesn't show all domain users

2019-06-03 Thread Corinna Vinschen
er a few runs it disappears. > > Even after it disappears getent doesn't return all domain users while > > mkpasswd -d returns all users. > > When I try to chown user /home/user I get "invalid user" error - but this > > user exists in the domain. > > Aft

Re: getent doesn't show all domain users

2019-05-30 Thread Andrey Repin
Greetings, Maayan Apelboim! > Yes, my active domain user is displayed. > The user I'm searching for is also displayed after a few teaks / restarts. > Couldn't replicate a stable workaround that always works for me - best > solution I found was create passwd with mkpasswd -d and then move the file

Re: getent doesn't show all domain users

2019-05-29 Thread Brian Inglis
exists in the domain - it returns nothing. >>> It only works when I have /etc/passwd file in place (generated by >>> mkpasswd -d), but I was told in a previous thread that I should not >>> use mkpasswd -d anymore, and use getent instead. >>> Is there someth

RE: getent doesn't show all domain users

2019-05-29 Thread Maayan Apelboim
sday, May 28, 2019 6:15 PM To: cygwin@cygwin.com Subject: Re: getent doesn't show all domain users On 2019-05-28 02:36, Maayan Apelboim wrote: >> Systems may have tens to hundreds of local user accounts, and domains >> may have hundreds to hundreds of thousands of user account

Re: getent doesn't show all domain users

2019-05-28 Thread Brian Inglis
y for > this specific user that exists in the domain - it returns nothing. > It only works when I have /etc/passwd file in place (generated by mkpasswd > -d), but I was told in a previous thread that I should not use mkpasswd -d > anymore, and use getent instead. > Is there somet

RE: getent doesn't show all domain users

2019-05-28 Thread Maayan Apelboim
d. Is there something I need to do with getent to get access for all my domain users? Should I keep my previous passwd file generated by mkpasswd -d? Thanks

Re: getent doesn't show all domain users

2019-05-27 Thread Brian Inglis
On 2019-05-27 03:15, Maayan Apelboim wrote: > I have a server in the domain (duplicated from another domain if it matters). > At first "getent passwd" run I see the user from the different domain, but > after a few runs it disappears. > Even after it disappears getent doe

getent doesn't show all domain users

2019-05-27 Thread Maayan Apelboim
Hello, I have a server in the domain (duplicated from another domain if it matters). At first "getent passwd" run I see the user from the different domain, but after a few runs it disappears. Even after it disappears getent doesn't return all domain users while mkpasswd -d re

Re: "1.7.5: question about running cron tasks as normal local user (no domain users / no local admin group users)"

2010-07-21 Thread Corinna Vinschen
Please don't #http://cygwin.com/acronyms/#TOFU On Jul 21 14:06, Adi B Treiner wrote: > Hello Pierre, > > sorry for the delay. I determined your post only now. > > I performed 'rebaseall' but it seems not to solve the issue. > I still get same error message. > > 203950 [main] cron 2808 C:\cyg

Re: "1.7.5: question about running cron tasks as normal local user (no domain users / no local admin group users)"

2010-07-21 Thread Adi B Treiner
Hello Pierre, sorry for the delay. I determined your post only now. I performed 'rebaseall' but it seems not to solve the issue. I still get same error message. 203950 [main] cron 2808 C:\cygwin\usr\sbin\cron.exe: *** fatal error - could not load user32, Win32 error 1114 thanks in advance, Adi

Re: "1.7.5: question about running cron tasks as normal local user (no domain users / no local admin group users)"

2010-06-04 Thread Pierre A. Humblet
- Original Message - From: "Adi B Treiner" To: Cygwin Cc: Pierre.Humblet Sent: Friday, June 04, 2010 10:43 Hello Pierre, thanks fort the response. > Did you upgrade from 1.5 to 1.7.5 or did you go through some 1.7.X? I think I upgraded from 1.5 to 1.7.5 directly. > This problem may

Re: "1.7.5: question about running cron tasks as normal local user (no domain users / no local admin group users)"

2010-06-04 Thread Adi B Treiner
Hello Pierre, thanks fort the response. > Did you upgrade from 1.5 to 1.7.5 or did you go through some 1.7.X? I think I upgraded from 1.5 to 1.7.5 directly. > This problem may be due to the way the groups are computed in Cygwin > 1.7 but there must be something special about your install, oth

Re: "1.7.5: question about running cron tasks as normal local user (no domain users / no local admin group users)"

2010-06-03 Thread Pierre A. Humblet
should be appropriate. My virtual Windows box running under Windows 2000 Professional. I only have local Users ( no domain users ). The Problem doesnt happen for users of the local admin group - for those users it works as expcted. Even the problem didnt occur with the old 1.5 version. Please

Normal behavior -- fixed - domain users showing up; remote ACLS working on SMB shares

2009-09-19 Thread Linda Walsh
ave no group none listed in my group list. > > 513/None shows up in my '/etc/group' file. Try running 'mkgroup -l -d'. > >> However, I've just recently noticed that 513 is the end of the well known >> SID (RID?) builtin for Domain Users -- and my machine

Re: Cygwin and domain users...

2009-01-25 Thread garethrichardadams
http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > Thanks all - that doesn't seem to bad. Gareth -- View this message

Re: Cygwin and domain users...

2009-01-23 Thread Dave Korn
Larry Hall (Cygwin) wrote: > It's best to just add the users and groups needed the passwd and group > files. This will allow Cygwin to work with these users as Windows sees > them, which is really what you want. If you just have the current user > to add, try: > > mkpasswd -c >>/etc/passwd >

Re: Cygwin and domain users...

2009-01-23 Thread Larry Hall (Cygwin)
garethrichardadams wrote: Hi all, I've set up Cygwin on a portable usb drive and would like to use it on different machines. The problem is that one of the machines is a standalone, the other is a domain machine. When I used it from the standalone it worked fine. When I started it on the domain

Cygwin and domain users...

2009-01-23 Thread garethrichardadams
ows? Thanks Gareth -- View this message in context: http://www.nabble.com/Cygwin-and-domain-users...-tp21622831p21622831.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygw

Re: MS Windows 2k3 domain users issue

2006-07-28 Thread MyStiC
Sorry for the delay on this response... This is a reply to http://cygwin.com/ml/cygwin/2006-07/msg00808.html It seems that Cygwin is having issue with W2k3 Active Directory groups/users. Over the last few days, several of my colleges and I have tested this on a few W2k3 servers and found the sa

Re: MS Windows 2k3 domain users issue

2006-07-25 Thread Larry Hall (Cygwin)
MyStiC wrote: From: "Larry Hall (Cygwin)" It's not clear whether your '/etc/groups' file is up-to-date on your XP machine. Try running 'mkgroup -l -d >/etc/group'. If you have trouble XP machine is at my office and the w2k3 server is at my residence. The 'etc/group' file on the XP box was bui

Re: MS Windows 2k3 domain users issue

2006-07-25 Thread MyStiC
From: "Larry Hall (Cygwin)" It's not clear whether your '/etc/groups' file is up-to-date on your XP machine. Try running 'mkgroup -l -d >/etc/group'. If you have trouble XP machine is at my office and the w2k3 server is at my residence. The 'etc/group' file on the XP box was build local to the

Re: MS Windows 2k3 domain users issue

2006-07-25 Thread Larry Hall (Cygwin)
On 07/25/2006, MyStiC wrote: I am having an issue with Cygwin not authenticating domain users in a W2k3 environment. I've tried every "fix" that I can find out there and yet to find a solution. The are several listings in Cygwin's db resembling my issue but had either no

MS Windows 2k3 domain users issue

2006-07-25 Thread MyStiC
I am having an issue with Cygwin not authenticating domain users in a W2k3 environment. I've tried every "fix" that I can find out there and yet to find a solution. The are several listings in Cygwin's db resembling my issue but had either no replies, or provided no so

MS Windows 2k3 domain users issue

2006-07-25 Thread MyStiC
I am having an issue with Cygwin not authenticating domain users in a W2k3 environment. I've tried every "fix" that I can find out there and yet to find a solution. The are several listings in Cygwin's db resembling my issue but had either no replies, or provided no so

mkpasswd (249): [5] Access is denied. # ( only a subset of domain users listed )

2005-03-02 Thread Name withheld by request
ut a substancial subset of the domain users. I've also tried uninstalling cygwin and loading a much older version that I trust; I get the same error. This is the *first* time I've installed cygwin in this particular active directory domain. It works in two other active directory dom

mkpasswd (249): [5] Access is denied. #just subset of domain users listed

2005-03-02 Thread Tom Rodman
a substancial subset of the domain users. I've also tried uninstalling cygwin and loading a much older version that I trust; I get the same error. This is the *first* time I've installed cygwin in this particular active directory domain. It works in two other active directory dom

Re: Setup: prevent scan for domain users by mkpasswd

2003-10-12 Thread Igor Pechtchanski
On Mon, 13 Oct 2003, Huijing Zhou wrote: > I'm working at an university computer lab with over 6000 users in our > Active Directory. You can imagine how long it takes for Cygwin Setup to > add all of them into passwd. I know Setup calls mkpasswd with the "-l" > option, but it doesn't help when I r

Setup: prevent scan for domain users by mkpasswd

2003-10-12 Thread Huijing Zhou
I'm working at an university computer lab with over 6000 users in our Active Directory. You can imagine how long it takes for Cygwin Setup to add all of them into passwd. I know Setup calls mkpasswd with the "-l" option, but it doesn't help when I run the installation on a Windows server. Maybe

RE: Domain Users

2003-10-09 Thread John Morrison
> From: Pierre A. Humblet > On Wed, Oct 08, 2003 at 04:55:18PM -0400, Boris Mayer-St-Onge wrote: > > > > 2- Is it possible to install a older version of cygwin (we have all the > > file of version 1.3.22-1 except the setup.exe). When we try to install > > cygwin with the setup.exe from the web pag

Re: Domain Users

2003-10-08 Thread Pierre A. Humblet
On Wed, Oct 08, 2003 at 04:55:18PM -0400, Boris Mayer-St-Onge wrote: > > 1- From what I understand, this problem occur only since version 1.5.x > of cygwin. Is that right? Yes, but see below. > 2- Is it possible to install a older version of cygwin (we have all the > file of version 1.3.22-1

Re: Domain Users

2003-10-08 Thread Boris Mayer-St-Onge
bash: cannot create temp file for here document: Permission denied At a guess, this is because you have TEMP set to some directory that domain users cannot access. You could add a "TEMP=/tmp" at the top of /etc/profile, and see if it helps. Oh, and make sure /tmp on every computer is

Re: Domain Users

2003-10-08 Thread Igor Pechtchanski
On Wed, 8 Oct 2003, Boris Mayer-St-Onge wrote: > Recently, we have upgraded our version of cygwin from 1.3.12-2 to > 1.5.5-1. Since that, we have a problem with domain users. > > Cygwin is installed locally on each computer by the local administrator > and it is used by domain use

Domain Users

2003-10-08 Thread Boris Mayer-St-Onge
Recently, we have upgraded our version of cygwin from 1.3.12-2 to 1.5.5-1. Since that, we have a problem with domain users. Cygwin is installed locally on each computer by the local administrator and it is used by domain users. If we open a bash shell, we have the following messages: bash

Re: Cygwin & Domain Users

2003-08-22 Thread Andrew DeFaria
Doug Jenkinson wrote: I recently got a new laptop, and my account is part of a domain and not a local one. As such, the cygwin config doesn't recognize it. My first thought was to just edit /etc/passwd file, but I can't figure out what my account's SUID is (that big long identifier that Win2k

Re: Cygwin & Domain Users

2003-08-22 Thread Brian . Kelly
mkpasswd -d -u Brian Kelly "Doug Jenkinson" <[EMAIL PROTECTED]>@cygwin.com on 08/22/2003 01:48:16 PM Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: (bcc: Brian Kelly/WTC1/Empire) Subject: Cygwin & Domain Users Hi All, I recently got a new lapto

Cygwin & Domain Users

2003-08-22 Thread Doug Jenkinson
Hi All, I recently got a new laptop, and my account is part of a domain and not a local one. As such, the cygwin config doesn't recognize it. My first thought was to just edit /etc/passwd file, but I can't figure out what my account's SUID is (that big long identifier that Win2k uses). I'm sure o

RE: domain users problem

2002-10-28 Thread Scott Prive
orking, it's REALLY nice. Good luck! -Scott > -Original Message- > From: Steven Weiss [mailto:sweiss@;iafrica.com] > Sent: Sunday, October 27, 2002 9:35 AM > To: [EMAIL PROTECTED] > Subject: domain users problem > > > Cygwin 1.3.10 > Ataman 3.1 > W2

RE: domain users problem

2002-10-28 Thread Vince Hoffman
; To: [EMAIL PROTECTED] > Subject: domain users problem > > > Cygwin 1.3.10 > Ataman 3.1 > W2000 > > Hi > > I am having a performance problem when executing cygwin > commands i.e. ls > when running the command through Ataman rexec. > > Example:

domain users problem

2002-10-27 Thread Steven Weiss
Cygwin 1.3.10 Ataman 3.1 W2000 Hi I am having a performance problem when executing cygwin commands i.e. ls when running the command through Ataman rexec. Example: Domain user from client PC - rexec SERVER cmd Ataman validates the user as the domain users and presents the user with a c

FAQ entry for setting up /etc/passwd with both NT domain users andSamba servers under ntsec

2002-04-19 Thread Chris Metcalf
I spent a while figuring out the right way to configure Cygwin's /etc/passwd in the face of CYGWIN=ntsec, domain users, and Samba servers. I thought I'd write a quick FAQ entry to save others time. Let's say you have a Windows domain "DOM" to which all your users belong

Re: Adding NT domain users in cygwin?

2002-01-21 Thread Corinna Vinschen
; > Now, a couple of questions. > > Is this the appropriate way of adding NT-domain users to the cygwin > system? Yes, but the latest mkpasswd has a convenient -u option now. > What is this thing about LOGNAME? Can I do anything to correct it? Search where it's used. If

Adding NT domain users in cygwin?

2002-01-21 Thread Christian Jönsson
I'd like to be able to add NT-domain users in the cygwin system (like linux adduser of useradd). When installing cygwin on my w2k box there was an administrator account created and a /home/administrator was created and /etc/passwd had administrator in it and /etc/group was there