-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PBIS Enterprise #6
Comments
Hey @unix4linux This is an extract of my puppetmaster but updaded/changed/included things you need to insert (see comments) for your enterprise setup.
While [...] is always a placeholder for other stuff you might have but it's not related to this issue. But this should work seamlessly now if you adapt this correctly. |
Hello @dionysius Everything looks good but I am getting an error for the params.pp on line 41 as follows:
When I look at the params.pp file for that line, here is the output (as expected from cloning it from github)
Any idea what is wrong here? |
Strange, can you tell me what following command outputs on your client machine (there where puppet agent is installed)
It seems like your osfamily is currently not recognized. I will going to implement it shortly |
Here you go:
|
According to http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html regex are not strings.
Just committed a fix, it seems like the regex was not working as expected. See 3c97c58 Pull from my repo and try again |
That fix worked but now it's getting stuck at another one:
When looking at my ad_domain value in my class, it looks good:
|
I'm a bit confused by this error. it looks correctly. just in case. can you send me your version of puppet?
|
Sure, here you go:
|
Hi @dionysius This time I got a little closer but the update_dns portion is failing:
So, when I run a "pbis-status" to check if it joined, it looks like it did but I get nothing back:
When I go into my AD server, I see the server added in the proper OU |
So here are more errors I am seeing with the module being ran:
|
Ah, there are two possible reasons. I think it's something wrong with the join process, so it might be not a puppet-pbis error. Lets try to debug that. I see the error is called 'LW_ERROR_NO_SUCH_CELL', currently cannot understand what this should mean. Or, domainjoin maybe hasn't worked because the user has not permission (or accidentally wrong credentials) to add a system (sounds strange to me, because on your AD the system is showing up - but maybe just not completely added). Anyway what case it is, please try the domainjoin process completely by hand - for debugging purposes.
And just in case, are on your system the pbis binaries located in /opt/pbis/bin/ too? |
Ok, so to answer your question, yep, my binaries are in that locations:
Here is the output when leaving the domain:
However, even if it says it was a success, if I go back to AD, the system is still there and I have to delete it from AD. If not, I can't join again and get the following error if the system already exist in AD:
Once I delete the system from AD, I am able to join but this is the error I am getting:
However, if I go to AD and check the Linux OU, I see the system added |
Ok, thats the point I've expected. The same error message appeared this way. So you need to sort out why you are getting this error, because I have no idea what this error means and a short googling didn't help. According to this Installation Guide:
But actually I can't help you here anymore. You may now use your enterprise support and contact the vendor for help sorting this out. This issue is now not related to this module anymore. |
Hello @unix4linux |
Hi!! Yep, I am working out some issues with their support team. As soon as
|
How would I pass options to the domainjoin-cli command? For example, what if I wanted to use two options right before the --ou option such as:
|
Hi @unix4linux I'm having the exact same issue with PBIS Enterprise, I didnt have any problems with PBIS Open. What was your resolution? Thanks. |
Hi @Finchster I listed several issues on this thread. Which one are you actually having issues with? |
Hi I have the exact same issue - with the server not joining AD with the same error of "Error: LW_ERROR_NO_SUCH_CELL [code 0x00009c72]" also i see the object in AD. Did you find a solution with support? |
Hi jamesb78, Can I see what line you are using to join? I don't remember what I did to get it to work but perhaps doing a little debugging with you will help me remember so that I can help you :) |
Sure its: ./domainjoin-cli join --ou "AD OU" --disable hostname --assumeDefaultDomain yes I have the same error even though we have had other systems joining the same OU (assuming that is the error) - The line above has been used numerous times previously on other servers. |
#15 has some fixes for some of these issues. The Cell error comes up because you haven't run configuration settings in Active Directory to create the cell. "/opt/pbis/bin/adtool -a new-cell" allows you to do so from Linux, but you'll need an account with appropriate rights in AD. |
Hello @dionysius,
For PBIS Enterprise, the packages names are:
pbis-enterprise-8.0.1-2031.x86_64.rpm
pbis-enterprise-devel-8.0.1-2031.x86_64.rpm
pbis-enterprise-gui-8.0.1-2031.x86_64.rpm
pbis-enterprise-legacy-8.0.1-2031.x86_64.rpm
pbis-enterprise-upgrade-8.0.1-2031.x86_64.rpm
Also, when create a new class in init.pp, I have done the following:
However, puppet complains in the logs that it could not find class pbis and it gives me a 400 error. Not sure if this module needs something added to the class for it to detect it.
The text was updated successfully, but these errors were encountered: