Hello Bruno,

Am 29.08.2013 16:11, schrieb Bruno Vane:
I had this mapping in nslcd.conf
map     passwd  gidNumber               primaryGroupID

I need the gidNumber to be "100" because this is gidnumber of group "users"
in my Ubuntu servers.
I will disable this mapping and test if everything is OK.

The mapping is not just for mapping one field to an other. You can replace values, too or do other things (see manpage for more).

You can hardcode the mapping:

map     passwd  gidNumber          "666"


# getent passwd
...
Administrator:*:10000:666::/home/Administrator:/bin/bash
technik:*:10001:666:Technik:/home/technik:/bin/false
demo1:*:10002:666:Demo User1:/home/demo1:/bin/sh


And all your domain accounts have primary group 666 :-)


Regards,
Marc
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to