Displaying 20 results from an estimated 323 matches for "surname".
2006 Mar 22
2
What am I doing wrong with this? :)
Hi,
I''m having trouble with a piece of code based on an example someone
kindly posted here:
errors.add(''surname'', "must be blank when the serial number is known")
if !surname.nil?|| !surname==""
Now, even if surname is empty, it still flags the error message. I
imagine I''m doing something rather obviously wrong but I''m not sure what
:)
Thanks in advance!...
2024 Aug 14
1
samba-tool user add - weird resulting
When creating AD user using 'samba-tool user add <username> ...',
there are switches for some human name parts specification:
--surname=SURNAME User's surname
--given-name=GIVEN_NAME User's given name
--initials=INITIALS User's initials
and samba-tool (or Samba daemon itself?) assembles other (LDB) attributes
from them:
dn : as "$GIVEN_NAME $INITIALS $SURNAME,OU=...,DC=..."
di...
2024 Aug 14
1
samba-tool user add - weird resulting
On Wed, 14 Aug 2024 09:24:03 +0200
Franta Hanzlik via samba <samba at lists.samba.org> wrote:
> When creating AD user using 'samba-tool user add <username> ...',
> there are switches for some human name parts specification:
> --surname=SURNAME User's surname
> --given-name=GIVEN_NAME User's given name
> --initials=INITIALS User's initials
>
> and samba-tool (or Samba daemon itself?) assembles other (LDB)
> attributes from them:
>
> dn : as "$GIVEN_NAME $INITI...
2012 Nov 02
2
Merge data frame with mispelling characters
...d with a merge of two
data frames by characters.
In each data frame I got two different list of names, that is my main-key to
be merged.
To figure out what I'm saying, I build up a modified "?merge" example, with
errors by purpose:
# Data for authors:
authors <- data.frame(
surname = I(c("Tukey", "Venable", "Terney", "Ripley", "McNeil")),
nationality = c("US", "Australia", "US", "UK", "Australia"),
deceased = c("yes", rep("no", 4)))
"Venables&q...
2006 Apr 28
7
acts as drop down
Hi
Im using the acts as drop down plugin
and have this code below
acts_as_dropdown :text => "forename", :order => "forename"
It currently makes use of the forename in the option tag, how can I get
it to use the surname as well
ie somthing like ''forename'' . ''surname'' in php
Thanks
--
Posted via http://www.ruby-forum.com/.
2020 May 14
2
samba-tool and --given-name or --surname format?
How do I add a user with samba-tool that has the givenname "?ke" or surname
"?berg"?
# samba-tool user create foobar 21asdasd// --given-name="?ke"
ERROR(<type 'exceptions.UnicodeDecodeError'>): Failed to add user 'foobar': -
'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
File "/...
2010 Feb 26
2
Routing Error using Paperclip
...t Paperclip support and it was
doing the CRUD operation fine. However when I added Paperclip support I
get the following error?
Routing Error
user_url failed to generate from {:action=>"show", :controller=>"users",
:id=>#<User id: nil, name: "Rajinder", surname: "Yadav", email:
"test-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org", password: "hello", membership_level: 0, location: nil,
timezone: nil, bday: nil, last_visit: nil, visits: nil, created_at: nil,
updated_at: nil, photo_file_name: "devmentor.jpg", photo_conten...
2011 Apr 29
1
RCurl and postForm()
...underneath. For example, I can do the following using curl from the command line:
$ curl -d "Archbishop Huxley" "http://www.datasciencetoolkit.org/text2people"
[{"gender":"u","first_name":"","title":"archbishop","surnames":"Huxley","start_index":0,"end_index":17,"matched_string":"Archbishop Huxley"}]
Trying the same thing, or what I *think* is the same thing (obvious not) in R (Mac OS 10.6.7, R 2.13.0) produces:
> library(RCurl)
Loading required package: b...
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
...t;p>Email a request to receive a Call Back from XYZ:</p>
<% form_tag :action => ''sendmail'' do -%>
<p>First Name:<br /><%= text_field ''email'', ''firstname'', :size
=> 30 %></p>
<p>Surname:<br /><%= text_field ''email'', ''surname'', :size =>
30 %></p>
<p>Email Address:<br /><%= text_field ''email'',
''email_address'', :size => 30 %></p>
<p>Telephone N...
2020 May 14
1
samba-tool and --given-name or --surname format?
On Thu, 14 May 2020, Andrew Bartlett via samba wrote:
> On Thu, 2020-05-14 at 13:24 +0300, Harald Hannelius via samba wrote:
>> How do I add a user with samba-tool that has the givenname "?ke" or
>> surname
>> "?berg"?
>
> The correct method is to use a version of Samba built with python3. My
> understanding is that we have fixed that issue there, but not in the
> older versions.
Thanks! I will have to talk to the Debian-team then, this is the Samba that
comes with Debia...
2010 Dec 19
2
barplot: width of label
Hello,
I try to make barplots with rather wide labels. A simplified example of
this:
x <- c(12, 33, 56, 67, 15, 66)
names(x) <- c('Richard with a long surname','Minnie with a long
name,'Albert','Helen','Joe','Kingston')
barplot(x, las = 2)
Now the label 'Richard with a long surname' is too long to fit beneath the
bars. A simple solution would be enlarge the space for the labels by
positioning the bar regio...
2010 Sep 25
1
Newbie question: searching certain fields only
Hallo,
I'm new to xapian and have only started checking it out, so please forgive
my silly questions.
I'm trying to get my head around the following:
Given the following fields (values with prefixes):
Name: ....
Surname: ....
Address: ....
...
How can I (by default) search in Name and Surname only? ie, I want to
ignore the Address field during search, unless I explicitly search it (eg,
by using "+address:..." in my query).
I don't want to add "-address:..." to the query (even silently i...
2012 Oct 23
0
Automatic creation of users home directories - problem with username case
...is running on CentOS 6.3 32-bit.
Domain users can access Samba without problems. We decided to use home directories and mount them as network H: disk, so user can store it's data there.
The problem is that WinXP users after restart can logon to AD using any form of logon name - i.e.
"Name.Surname"
"name.surname"
"NAME.SURNAME"
And Samba is automatically creating home directory for each form of logon name variation:
/home/Name.Surname
/home/name.surname
/home/NAME.SURNAME
So user John.Doe one morning will see that all content from it's H: disk is gone just beca...
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all,
As per Jelmer's request - in response to bug #7455 attached diff file.
Please let me know what you think and if any modificationes need to be
performed
Regards
Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroupadv.diff
URL:
2024 Aug 14
1
samba-tool user add - weird resulting
...amba napsal:
> On Wed, 14 Aug 2024 09:24:03 +0200
> Franta Hanzlik via samba <samba at lists.samba.org> wrote:
>
>> When creating AD user using 'samba-tool user add <username> ...',
>> there are switches for some human name parts specification:
>> --surname=SURNAME User's surname
>> --given-name=GIVEN_NAME User's given name
>> --initials=INITIALS User's initials
>>
>> and samba-tool (or Samba daemon itself?) assembles other (LDB)
>> attributes from them:
>>
>> dn :...
2019 Apr 29
2
Difficulties retrieving randomly assigned password for newly created Samba user acounts
...inidividual user accounts for my
domain and unfortunately I have a very basic but fundamental problem! I
currently enter the following input at the command-line to create a new
user on my DC:
pi at ad1:~ $ sudo samba-tool user create "$USERNAME"
--given-name="$GIVENNAME" --surname="$SURNAME" --mail-address="$EMAIL"
--company="$COMPANY" --random-password --must-change-at-next-login
--nis-domain="$WIN_DOMAIN" --unix-home="$UNIXHOMEFOLDERPATH"
--home-drive="H" --home-directory="$WINDOWSHOMEFOLDERPATH"
--l...
2005 Jul 10
3
not supressing leading zeros when reading a table?
Dear R list,
I have a dataset with a column which should be read as character, like this:
name surname answer
1 xx yyy "00100"
2 rrr hhh "01"
When reading this dataset with read.table, I get
1 xx yyy 100
2 rrr hhh 1
The string column consists in answers to multiple choice questions, not all
having the same number of answers. I could format the answers usi...
2006 Feb 19
2
how would you implement this normalizer?
...m only sorting for views, so it would be OK to do some
normalization on-the-fly on Ruby land, and since the same criteria
has to be used throughout the application I was thinking on some sort
of generator whose usage would be:
class User < ActiveRecord::Base
normalize_for_sorting :surname
end
The intention is not to modify surname, we need it in the views,
normalize_for_sroting would generate a method
User#surname_for_sorting and configure it as a creation/finding
filter that applies the necessary tr///. The aim is:
* We normalize the strings once and store them in...
2006 Apr 21
2
destory Test Case Messes up all tests
...elper''
class UserTest < Test::Unit::TestCase
fixtures :users
def setup
# get grant_speelman user
@first_user = User.find(1)
end
# Test updating of a user
def test_update
assert_equal @grant_speelman.firstname, @first_user.firstname
assert_equal @grant_speelman.surname, @first_user.surname
assert_equal @grant_speelman.email, @first_user.email
@first_user.firstname = "Gavin"
@first_user.surname = "Steenkamp"
@first_user.email = "test@glasshouse.co.za"
assert @first_user.save, @first_user.errors.full_messages.join...
2006 Apr 16
6
sorting
I need to sort users by their rank how do I do this?
--
Posted via http://www.ruby-forum.com/.