public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RFC2307 accounts
@ 2016-03-09  7:09 Marc Rechte
  2016-03-09  9:14 ` Mark Geisert
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Rechte @ 2016-03-09  7:09 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

Hello,

   Trying to set RFC2307 accounts, using unix schema in /etc/nsswitch.conf.

UID/GID do not reflect what is stored in AD (using POSIX attributes), 
they still follow the 0x100000 + RID scheme 
(https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping)

Any idea ?

Thanks

In cygwin bash:

$ uname -a
CYGWIN_NT-6.1 TOURNESOL 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin

$ getent passwd mrechte
mrechte:*:1050005:1049089:U-STUDELEC-SA\mrechte,S-1-5-21-497920593-2320919703-1315762108-1429:/home/mrechte:/bin/bash

$ cat /etc/nsswitch.conf
passwd:   files db
group:    files db
db_enum:  cache builtin
db_home: unix
db_shell: unix
db_gecos: unix

On a Linux box attached to the domain, using RFC2307
$ getent passwd mrechte
mrechte:*:12007:11000::/home/mrechte:/bin/bash

This is the correct values ie. 12007/11000



[-- Attachment #2: Signature cryptographique S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RFC2307 accounts
@ 2016-03-08 16:30 Marc Rechte
  2016-03-08 17:00 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: Marc Rechte @ 2016-03-08 16:30 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

Hello,

  Trying to set RFC2307 accounts, using unix schema in /etc/nsswitch.conf.

UID/GID do not reflect what is stored in AD (using POSIX attributes), 
they still follow the 0x100000 + RID scheme 
(https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping)

Any idea ?

Thanks

In cygwin bash:

$ uname -a
CYGWIN_NT-6.1 TOURNESOL 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin

$ getent passwd mrechte
mrechte:*:1050005:1049089:U-STUDELEC-SA\mrechte,S-1-5-21-497920593-2320919703-1315762108-1429:/home/mrechte:/bin/bash

$ cat /etc/nsswitch.conf
passwd:   files db
group:    files db
db_enum:  cache builtin
db_home: unix
db_shell: unix
db_gecos: unix

On a Linux box attached to the domain, using RFC2307
$ getent passwd mrechte
mrechte:*:12007:11000::/home/mrechte:/bin/bash

This is the correct values ie. 12007/11000


[-- Attachment #2: Signature cryptographique S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-09 22:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09  7:09 RFC2307 accounts Marc Rechte
2016-03-09  9:14 ` Mark Geisert
2016-03-09 10:43   ` Marc Rechte
2016-03-09 11:28     ` Corinna Vinschen
2016-03-09 11:50       ` Marc Rechte
2016-03-09 15:58         ` Corinna Vinschen
2016-03-09 16:08           ` Marc Rechte
2016-03-09 22:05         ` Andrey Repin
  -- strict thread matches above, loose matches on Subject: below --
2016-03-08 16:30 Marc Rechte
2016-03-08 17:00 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).