Displaying 20 results from an estimated 7000 matches similar to: "'puppet resource user' questions"
2002 Nov 12
1
Need clarification
Hi,
I'm trying to run samba 2.2.6 + OpenLDAP as user/group
database ( not /etc/passwd). nss_ldap+pam_ldap is installed and
working OK, as I can login using ssh, or trough
console with one of ldap user.
But trying to connect to samba, when samba is ran as
#samba -d 2 -i
I get:
...
init_sam_from_ldap: User [ldapuser] does not ave a uid!
pass_check_smb failed - invalid password for user
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems:
*** LOCAL GEMS ***
diff-lcs (1.1.3)
hiera (0.3.0)
hiera-puppet (0.3.0)
metaclass (0.0.1)
mocha (0.12.1)
puppet-lint (0.1.13)
puppetlabs_spec_helper (0.2.0)
rake (0.9.2.2)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
When I run "rake help" I get the
2008 Jun 25
2
/usr/bin/id behavior since CentOS 5.2 upgrade
Hi list,
Since the upgrade to 5.2, when I log into my server with a ldap account
I have these 2 errors messages:
-bash: [: =: unary operator expected
-bash: [: -le: unary operator expected
After investigation, the trouble come from two scripts in /etc/profile.d:
/etc/profile.d/krb5-workstation.sh
/etc/profile.d/vim.sh
The problem is with the test where the command "id" is involved,
2009 Mar 01
8
puppet and LDAP users
I am trying to get puppet to manage my LDAP users but I don''t appear
to be having much success. What I have in puppet.conf is this
[puppetmasterd]
ldapserver=ldap.myorg.company.com
ldapbase=dc=myorg,dc=org
ldapuser=cn=admin,dc=myorg,dc=org
ldappassword=mysecret
ldapparentattr=dc=myorg,dc=org
I added the ldapparentattr in desperation and doubt if
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
Hi,
I''ve a problem and I don''t know if it is solvable with activeLDAP. Here
is an example of the tree structure of our LDAP server. The structure
isn''t exactly like that, but is similare and I can already access almost
any informations of a user when I''m logging as this user. The probleme
come when using the belong_to, has_many and ldap_mapping has you will
2013 Jul 31
1
LMTP: userdb lookup - user-filter with variables
I tried to use dovcots lmtp instead of dovecot-lda.
postfix has in master.cf ... dovecot-lda -f ... -d ${user} to separate
the user part from user at hostname.domain.
So lookup of "user" succeeds in userdb (LDAP) done by dovecot-lda.
I have always local addresses like to=<user at hostname.domain>
postfix/lmtp[6579]: [ID 197553 mail.info] B3CDA66A16:
to=<h0094slk at
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one of my node def files I have:
include ruby
ruby::gemInstall { ''someGem-version.gem'':
path => ''/path/to/agent/local/gem/repo'',
}
ruby::gemInstall is a define, and it has some logic to get around
2013 Jun 11
2
hiera data bindings and template()
Hi,
I''m using Puppet 3.2.1 and heavily relying on hiera data bindings.
I have the following situation:
class software (
$my_content = undef,
) {
file { ''/path/to/file'':
content => $software::my_content,
}
}
in hieradata/software.yaml (hiera.yaml seems ok):
software::my_content: template(''mymodule/myfile.erb'')
With this configuration I
2013 Jul 12
2
3.5.6 to 3.6.6: session setup failed
Hi,
I think that someone has the solution for my problem! ;)
After i did the upgrade process in a samba server, from debian squeeze to
wheezy, the new samba version (3.6.6) is not working.
Searching on web, there are many causes for this error, and i dont know
what is mine.
I can't connect with smbclient -L host -U ldapuser, that give me error
"session setup failed:
2012 Oct 05
1
Puppet Dashboard inventory search problems.
I''m using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19
When I do an inventory search, I get a blank screen.
In the logs, I found the following:
Processing NodesController#search (for X.X.X.X at 2012-10-05 08:44:57) [GET]
Parameters: {"action"=>"search", "controller"=>"nodes",
2012 Feb 06
2
Puppet kick class option error
Hi,
I''m trying to puppet kick with class option.
Pupper Master: puppetmaster.example.com
Puppet Client1: host1.example.net
Puppet Client2: host2.example.net
But I get this error.
---
[root@puppetmaster ~]# puppet kick --class test --debug
test: host1.example.net.example.com, host2.example.net.example.com
Triggering host1.example.net.example.com,
host2.example.net.example.com
Host
2015 Apr 23
2
RODC User preload fails
Hi,
I installed a RODC on my mailserver to have a local authentication for
mailusers on the machine which doesn't rely on a always-on-connetion to
the office.
The problem is now that the user-preload doesn't work so that the RODC
is not able to authenticate the users itself:
samba-tool rodc preload <user> --server <DC1> -U Administrator
Password for [AD\Administrator]:
2013 Feb 22
6
Samba 4 and freeradius
Hi,
My goal is to make use of samba 4 and freeradius to authenticate user to use wifi network (WPA2 enterprise).
The setup is to setup Samba 4.0.3 in machine A and setup freeradius in machine B.
By reading:
Document A: http://wiki.samba.org/index.php/Samba4/beyond
Document B: https://wiki.samba.org/index.php/Samba4/HOWTO/Virtual_Private_Network
Document C:
2012 Jun 15
8
Puppet Forge question
I''m running puppet in a local VM to do some testing, and all of our systems
are behind a proxy. I''ve got the http_proxy environment variable set
properly, but when I try to use puppet module install <foo> it doesn''t seem
to honor it and can''t connect.
I used wget to download it, but even when I use modulepath it still tries
to connect to the forge and
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix
2012 Jul 26
2
Please send me your puppet formatting puzzles...
Hi,
I have been working on a new puppet code formatter for Geppetto for some
time, and it is now starting to work quite well. The plan is to release
it in Geppetto 3.0.
If you want to, you can help by sending "formatting puzzles" - i.e.
"given input x, produce formatted result y".
I am esp. looking for code where it is impossible to follow "the style
guide" -
2013 Mar 08
1
problems with samba upgrade from 3.5.4 to 3.6.9
Hi @ all,
we use samba as a fileserver on CentOS and an OpenLDAP server on Ubuntu 10.04. The samba server shared only files, so we can access with the win7 clients (and OpenLDAP credentials) to the files on the linux environment.
So after upgrade we don't can connected us to the samba share. I have tested the connection with the tool smbclient "smblcient -L <servername> -U
2013 Jun 07
1
Folder permissions not working
I seem to be having a bit of a brain fade with regard to permissions in
samba. I have a share with several folders owned by different groups:
drwxrws--- 13 root accounts 4.0K Jun 7 12:12 Accounts
drwxrws--- 16 ian accounts 4.0K Jun 7 11:24 Administration
drwxrws--- 14 accounts users 4.0K Apr 22 12:05 Downloads
drwxrwsr-x 7 ian users 4.0K Mar 22 13:51
2012 Aug 27
1
Fact based variables sowing up empty
I''ve got a single puppet master (2.7.19 + facter 1.6.11) controlling a
number of nodes (2.7.17 + facter 1.6.8-10). On all of thse, fact absed
variables work as expected (such as $::operatingsystem and $::fqdn).
However, on my puppet master, when I run ''puppet agent --test'' all fact
based variables are combing back as empty strings.
For example. I have a line in a
2012 Jul 12
15
How can I list classes available on the puppet master?
Is there a way to get a list of all the classes available from the puppet
master?
I have 2 goals for this - one is documentation in a human readable form,
and the other is potentially importing that data into dashboard.
I did find some info on the rest API
(http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I
can''t make any sense of the output from it.
Thanks.