RFC2307 accounts

Marc Rechte mrechte@studelec-sa.com
Wed Mar 9 07:09:00 GMT 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4163 bytes
Desc: Signature cryptographique S/MIME
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160309/745cae93/attachment.p7s>


More information about the Cygwin mailing list