Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread Rob Crittenden
g...@greg-gilbert.com wrote: > Rob, here's what I see in that log: > > 2017-04-19T21:18:23Z DEBUG Using servers from command line, disabling > DNS discovery > 2017-04-19T21:18:23Z DEBUG will use provided server: ipa.services.foo > 2017-04-19T21:18:23Z DEBUG will use discovered realm:

Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread greg
Follow-up: I guess I can leave off the --hostname part of it and it doesn't change the hostname. On 2017-04-19 17:25, g...@greg-gilbert.com wrote: > Rob, here's what I see in that log: > > 2017-04-19T21:18:23Z DEBUG Using servers from command line, disabling DNS > discovery >

Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread greg
Rob, here's what I see in that log: 2017-04-19T21:18:23Z DEBUG Using servers from command line, disabling DNS discovery 2017-04-19T21:18:23Z DEBUG will use provided server: ipa.services.foo 2017-04-19T21:18:23Z DEBUG will use discovered realm: IPA.SERVICES.FOO 2017-04-19T21:18:23Z DEBUG will use

Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread Jason B. Nance
Hi Greg, > I'm trying to set up a rule based on server hostname. So for example, 10.100.* > would be put into the 'developers' hostgroup. I can't figure out the proper > format of the inclusive regex. I've tried: I believe that your regex needs to match the host name, not the IP address.

Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread Rob Crittenden
g...@greg-gilbert.com wrote: > When the instances register themselves with FreeIPA, their hostnames get > changed to match their IP; that's a FreeIPA rule, I believe. So in this > case, the hostname is 10.100.*. > > ubuntu@10:~$ hostname > 10.100.15.130 There is something very wrong. ipa-client

Re: [Freeipa-users] What's the proper format for an automember serverhostname rule?

2017-04-19 Thread greg
When the instances register themselves with FreeIPA, their hostnames get changed to match their IP; that's a FreeIPA rule, I believe. So in this case, the hostname is 10.100.*. ubuntu@10:~$ hostname 10.100.15.130 On 2017-04-19 14:53, Jason B. Nance wrote: > Hi Greg, > >> I'm trying to set up