[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-11 Thread patrick . hush
Why on earth would you assign a numeric value to a uid? Just do a ldapmodify and replace the uid with a valid userid (eg. jsmith) and replace uidNumber with the previous value, then get rid of the: ldap_user_uid_number = uid ldap_user_gid_number = uid stuff, you can do this in one ldif with dn:

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread Michael Lake
Example user: uid: 123456 mail: mike.l...@uts.edu.au uidNumber: 200123456 From: patrick.h...@comcast.net Sent: Wednesday, March 11, 2020 9:15 AM To: End-user discussions about the System Security Services Daemon Subject: [SSSD-users] Re: Can I map an

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread patrick . hush
In LDAP what are the uidNumber and uid attributes for a sample user? > On March 10, 2020 at 2:45 PM Michael Lake wrote: > > Hi > > But I'd still have the problem that my UNIX username needs to be POSIX > compliant. So if my number is 123456 and my email is mike.l...@uts.edu.au >

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread Michael Lake
Hi But I'd still have the problem that my UNIX username needs to be POSIX compliant. So if my number is 123456 and my email is mike.l...@uts.edu.au I dont want the actual UNIX username to be an email address with an @ in it. Complicates all sorts of scripts. A username of u123456 is simple.

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread Pavel Březina
On 3/10/20 1:53 PM, Michael Lake wrote: Pavel suggested: > How about using fully qualified names instead? I'm not very familiar with LDAP. I'm not sure what that would actually look like. What we have now is where users login to a terminal using their number. However with web based logins

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread Michael Lake
Pavel suggested: > How about using fully qualified names instead? I'm not very familiar with LDAP. I'm not sure what that would actually look like. What we have now is where users login to a terminal using their number. However with web based logins they do use their email address. I'd have

[SSSD-users] Re: Can I map an LDAP value of 123456 to a user name of u123456 ?

2020-03-10 Thread Pavel Březina
On 3/10/20 5:11 AM, Michael Lake wrote: Hi all I am currently authenticating users with Centos 6 and sssd to an LDAP server. I'll be moving to a Centos 8 so have setup sssd to authenticate to the LDAP server on my test Centos 8 box. However, our users in our LDAP only contains all numeric