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
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
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
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
2024 Aug 14
1
samba-tool user add - weird resulting
Dne 2024.08.14 09:48, Rowland Penny via samba 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 >>
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: