Displaying 20 results from an estimated 11000 matches similar to: "Dynamically Naming a Variable"
2006 Dec 27
10
Mixing html tags and Ruby blocks
I''m trying to get the following idea to work:
<%= @column_names.each { |t| <td> t.downcase </td> <td>
@listing.send(t.downcase)</td> } %>
Essentially I want to display a form that has a left and right TD, with
the left TD being a column name and the right TD being the column data.
If there''s a better way (the Rails way ?), I''m all ears
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
hi i am using rails 2.3.4 and i am facing "no method error"
there is possibility to not find method but my question is - is there
possibility to error occurred because of empty table? or error in another
controller or helper?
error trace:
Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-17
16:07:34) [POST]
Parameters:
2015 Nov 13
2
Problem switching to BIND9_DLZ
Hi,
I try to switch from internal DNS to bind9 on an samba-ad-dc (sernet
4.1.23 on debian wheezy).
I try to run
samba_upgradedns --dns-backend=BIND9_DLZ
and get an python error pointing to
/usr/lib/python2.7/dist-packages/samba/provision/__init__.py line 271
Reading domain information
Traceback (most recent call last):
File "/usr/sbin/samba_upgradedns", line 261, in
2015 Nov 13
2
[SOLVED] Re: Problem switching to BIND9_DLZ
On 13/11/15 07:00, Achim Gottinger wrote:
>
>
> Am 13.11.2015 um 07:11 schrieb Achim Gottinger:
>> Hi,
>>
>> I try to switch from internal DNS to bind9 on an samba-ad-dc (sernet
>> 4.1.23 on debian wheezy).
>> I try to run
>>
>> samba_upgradedns --dns-backend=BIND9_DLZ
>>
>> and get an python error pointing to
>>
2014 Feb 24
2
URGENT: big problem with displayName.
Hi,
Sorry for my urgent request, but we have a problem with user who have
strange displayname
Yesterday (23/02/2014), we do a classic-upgrade from a ldap tree to a DC
server.
But user with accent have bad displayName and maybe cause problem when
user try to connect to her computer.
I'm unable to change displayName by ADUC, ldbmodify or ldbedit.
GENSEC backend 'gssapi_spnego'
2005 Oct 20
1
Samba+LDAP Groups resolving problem
Hi,
I have managed to configure Samba+LDAP+smbldap-tools. Everything works
fine, except one strange problem is appearing.
When I connect with Windows tool UserManagerForDomains or I want to create
a share on a Wndows box I can see the users but no groups.
With UserManagerForDomains is see following:
Users: All the users
Groups: none, just description of Replicators Group and the
2015 Nov 13
2
[SOLVED] Re: Problem switching to BIND9_DLZ
On 13/11/15 10:20, mourik jan heupink wrote:
> Hi Rowland, Achim, list,
>
>> The search would probably be better something like this:
>>
>> res7 =
>> samdb.search(expression="(name={31B2F340-016D-11D2-945F-00C04FB984F9})",
>> base="CN=Policies,CN=System," + basedn,
>>
2018 Mar 07
1
Fwd: Migrating server
dn: cn=Domain Admins,ou=groups,dc=mydomain
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 512
cn: Domain Admins
description: Netbios Domain Administrators
sambaSID: S-1-5-21-3936576374-1604348213-1812465911-512
sambaGroupType: 2
displayName: Domain Admins
memberUid: root
memberUid: sadmin
dn: cn=Domain Users,ou=groups,dc=mydomain
objectClass: top
objectClass:
2004 Aug 13
2
smbpasswd overwrites existing displayname in LDAP entry
Configuration: Samba 2.2.8a with openLDAP 2.1.30 on a SeSE 8.2. server
When adding a user using a ldif file we give the user a given name, say Ruud Baart.
The cn and uid are the same, say 21cs12345 (a studentnumber).
After adding the user to LDAP the displayname is as expected: "Ruud Baart".
However after smbpasswd -a 21cs12345 -s secret the displayname is "21cs12345".
2006 Jul 05
2
Serialized object behaves weird
Hi!
I got a class named EinsatzFilter which I serialized to session. Before
saving to session it works afterwards I keep getting the message:
"undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from
ActiveRecord::Base inherited class.
Code:
class EinsatzFilter
include ApplicationHelper
attr_reader :personen, :monat, :projekte, :kunde
2019 Apr 26
1
Fix: menu indent for menu entry
Hello,
While experimenting with possible menu layout found this issue; the entry for MENU BEGIN doesn't follow MENU INDENT.
*Sample config*
label -
menu disable
menu label Distro
label rhel
menu indent 2
menu label RHEL
label cent
menu indent 2
menu label Centos
label fed
menu indent 2
menu label Fedora
menu begin
menu indent 2
menu label Others
menu end
# 'Others'
2015 Nov 13
1
[SOLVED] Re: Problem switching to BIND9_DLZ
On 13/11/15 12:45, Achim Gottinger wrote:
>
>
> Am 13.11.2015 um 11:30 schrieb Rowland Penny:
>> On 13/11/15 10:20, mourik jan heupink wrote:
>>> Hi Rowland, Achim, list,
>>>
>>>> The search would probably be better something like this:
>>>>
>>>> res7 =
>>>>
2003 Dec 28
2
[Fwd: Re: Samba 3.0.1 W2K Joing domain error - the user name couldnot be found]
Hi,
Thanks for your information. Now I was not able to login as domain user. I
am getting following error message.
The system cannot log you on now because domain TECHGROUP is not available.
Here is my ldap log message:-
Dec 28 00:31:08 rishi slapd[1753]: conn=93 fd=17 ACCEPT from IP=::1 1230
(IP=:: 389)
Dec 28 00:31:08 rishi slapd[2166]: conn=93 op=0 BIND
2008 Nov 05
1
Samba 3.2.4 not locking accounts?
Hello guys!
I'm using samba 3.2.4 (binaries from samba.org) on SLES9+sp3.
I am building a PDC with LDAP support (i am attaching my config files),
I'm also using ldapsam:trusted and ldapsam:editposix.
Although I am setting the account lock after 3 failed tries in usrmgr,
and verified that the parameters are actually set in the LDAP, no
locking occurs.
I started thinking that it was my
2008 Feb 15
2
Joining a Windows XP pc to Samba / LDAP domain
Hi, guys,
I'm trying to create a PDC using Samba with an LDAP backend. According
to all the guides I read, this should be fairly easy really, but I've
done nothing else for the last week and it still doesn't work the way
the manual says it should! As far as I can see, everything is set up and
working correctly right up to the point when I try and join a machine to
the domain.
2007 Oct 11
0
display problem with to_csv
Hi all,
I need to export the document as csv file, i have exported
successfully, but the problem is not displayed as per my format, in csv
file the format is suffuled, i want the orderwise as how i have
mentioned in my query, please help me to come out in the order wise.
My coding is:
@report_data=EdiaUserContact.find_by_sql(
"SELECT '''' as ''Title'',
2013 Feb 12
1
[SC] EnumQueryServicesStatus:OpenService FAILED 123
*Hi guys!*
*
*
*I''m trying to perform a service creation using SC and if this service is
already created, using an "unless" we can avoid it. *
*Sound very simple, but for any reason, when instructions are called by
puppet they are not working instead you call directly, same instructions,
using DOS, where works sweet.*
*
*
*Here is part of the code:*
$cmd =
2005 Oct 11
2
displayName vs. cn
In 3.0.20a/ldapsam the Usrmgr shows in the all users view the displayName
attribute as full name, but in the user properties view the cn attribute.
Seems a little bit inconsistent to me, shouldn't be the algorithm to
retrieve the full name always the same?
Daniel
2012 Oct 09
2
Cannot make Windows join Samba domain
Hi,
I'm having an issue trying to make a Windows machine sambaserveroin a Samba domain. Samba is running with LDAP backend (OpenLDAP). When I try to join the domain, Windows says that the machine account does not exist. The machine account, however, is successfully created in the LDAP directory after the join fails. When I try to join again, Windows says that the account already exists.
2007 Apr 09
3
net rpc vampire umlauts (äöüß) problem
Hi,
im using net rpc vampire to migrate users/ groups from nt4 to samba3
with ldap backend.
But the umlauts (????) in the displayname are malformend.
Unix charset in smb.conf is set to ISO8859-1.
Any hint how to correct this?
Regards
S.Drees