similar to: Automatic creation of users home directories - problem with username case

Displaying 20 results from an estimated 8000 matches similar to: "Automatic creation of users home directories - problem with username case"

2019 Apr 08
0
home user
For got to mention. Other option, add in smb.conf : root preexec = mkdir -p /home/%U [homes] comment = Home Direcotries path = /home/%U root preexec = /var/lib/samba/scripts/mksambahomedirs.sh %U mksambahomedirs.sh --- #!/bin/env bash if [ ! -d /home/$1 ]; then mkdir /home/$1 chmod g+s /home/$1 chown $1:"domain admins" /home/$1 chmod 770
2012 Nov 02
1
What is the difference between %S, %u and %U variables in sbm.comf
Hi list, Can someone please clarify the difference between variables %S %U %u in smb.conf? It is not clearly defined in man smb.conf page (at least for me) %U - session username (the username that the client wanted, not necessarily the same as the one they got). %S - the name of the current service, if any. %u - username of the current service, if any. That is "session username",
2006 Apr 21
2
destory Test Case Messes up all tests
I am trying to create unit tests for my users model but when I add a test that destroys a user, that user is not available in any of the other test. If I remove the test that destroys the user all my other tests work again. All the fixtures are suppose be reloaded between tests right? Here is my testcase : require File.dirname(__FILE__) + ''/../test_helper'' class UserTest
2005 Apr 28
1
Automatic creation of home directories
Hi all, after searching the archives of this list and extensive general googling, I still haven't worked this problem out so I thought it was time to join the list. I'm trying to make my samba server create home directories on-the-fly when new users login. As I understand it, the way to do this is to use the mkhomedir module and enable "obey pam restrictions" in smb.conf.
2016 Sep 06
1
Winbind / Samba auth problem after username change
Well we've changed the logon name (SAMAccountName) and the Name and Surname of the user object. -----Ursprüngliche Nachricht----- Von: Rowland Penny [mailto:rpenny at samba.org] Gesendet: Dienstag, 6. September 2016 11:37 An: samba at lists.samba.org Cc: Julian Zielke <jzielke at next-level-integration.com> Betreff: Re: [Samba] Winbind / Samba auth problem after username change On Tue,
2013 Sep 16
1
automatically create users home directories samba 4.0.9
Hi all same problem as here https://lists.samba.org/archive/samba/2013-January/170817.html I can create a user called xlinuxd but it does not automatically create a home directory. I use the following command: samba-tool user add xlinuxd --given-name=Linux --surname=Delta --home-drive=H --home-directory="\\\mydomain\Users\xlinuxd" --mail-address= linux.delta at mydomain.co.za
2013 Nov 01
2
Shared namespace, separator, username and dots.
Hi folks, I run a legacy mailserver that i had replaced courier-imap for dovecot 1.2. Everything is fine except for shared namespace. Maildir structure has been created using dot '.' as folder separator. It happens that all our users are created as name.surname as default. So when I want to select a shared folder, MUA end up with the following IMAP command: select
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi, would someone please help me. I have been desperatley trying to fnd out for the last two days why the following code is not working. Any ideas. I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version 1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version 1.3.5 / Windows XP. Here is a description of my emailing application: in
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
2016 Sep 06
0
Winbind / Samba auth problem after username change
Huh? I did answer you on your question what we have changed: -----Ursprüngliche Nachricht----- Von: Julian Zielke Gesendet: Dienstag, 6. September 2016 12:57 An: samba at lists.samba.org Betreff: AW: [Samba] Winbind / Samba auth problem after username change Well we've changed the logon name (SAMAccountName) and the Name and Surname of the user object. Or was there any other question I
2011 Aug 19
0
retain class after merge
Dear All, is there a simple way to retain the class attribute of a column, if merging two data.frames? When merging the example data.frames form help(merge) I am unable to keep the class attribute as set before merging (see below). Two columns are assigned new classes before merge (myclass1, myclass2), but after merge the resulting column has class "character". best regards, Heinz
2012 Nov 02
2
Merge data frame with mispelling characters
Hello dear R-helpers, I'm working with R-2.15.2 on Windows 7 OS. I'm stucked 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 =
2010 Feb 26
2
Routing Error using Paperclip
For some reason I can''t figure out why I am getting a routing error when I add Paperclip support. I have another test app when similar code is working. I created a new test app first without 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
2016 Sep 06
0
Winbind / Samba auth problem after username change
OK, I've used Apache Directory studio to examine your hint but the User object has the new name and the group the user is in had the users proper DN string. So the change seems to be correct on the DCs part. -----Ursprüngliche Nachricht----- Von: Julian Zielke Gesendet: Dienstag, 6. September 2016 14:19 An: 'Rowland Penny' <rpenny at samba.org> Cc: samba at lists.samba.org
2019 Apr 29
0
Difficulties retrieving randomly assigned password for newly created Samba user acounts
What the password is, is in the output on you screen, if not, then script it. kinit Administrator # function random password. RANDOMPASSWD(){ < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo; } # Pull a random into USERPASS USERPASS="$(RANDOMPASSWD)" # And create your user. sudo samba-tool user create "$USERNAME" --given-name="$GIVENNAME"
2015 May 28
2
[AD/PDC] Logins with Spaces do not work
Hi, I've migrated a Windows Server 2003 Active Directory to Samba and am running both servers in parallel. Samba is run under Debian Linux, Version is 4.1.17-Debian. My Problem is, that Client Computers cannot log in when their Logins contain Spaces. We were able to reproduce this by adding/removing spaces from a username and making login fail/work with this. Umlauts are not a problem.
2019 Apr 08
3
home user
I inserted these directives template shell = /bin/bash and template homedir = /home/%U the in smb.conf. What command do you use to create the user with the relative home directory and shell? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL:
2008 Jun 11
1
Squid/ntlm_auth issues with two user accounts (all other accounts on the domain work).
Hi all, I have just installed and configured a squid setup authenticating against Active Directory using kerberos tickets and have achieved the holy-grail of IT - Single Sign On! The problem is that I have two users for whom is does not work. The ntlm_auth logs show that for users that are properly authenticated against squid we get the following (Usernames/Domains/Hosts have been changed for
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
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