similar to: Difficulties retrieving randomly assigned password for newly created Samba user acounts

Displaying 20 results from an estimated 400 matches similar to: "Difficulties retrieving randomly assigned password for newly created Samba user acounts"

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"
2019 Apr 01
2
Can only access new SAMBA fileshare from Windows as privileged user SAMDOM/Administrator, not as an ordinary user.
Hi Rowland, thanks for your suggestions. I have read and re-read the Samba docs to try and understand where I went wrong here. I added the uidNumber and gidNumber exactly as per your comments and that seems to improve the situation markedly. I can now at least see that the share exists from SAMDOM\stephenellwood which wasn't possible before. File access is now possible from
2019 Mar 29
2
Can only access new SAMBA fileshare from Windows as privileged user SAMDOM/Administrator, not as an ordinary user.
Hi Rowland! On 29/03/2019 16:33, Rowland Penny via samba wrote > Roll on 'Buster' ;-) 4.5.x is well EOL. Its not ideal I know! ;) Unfortunately I (and every other Raspberry Pi user) is stuck with this for now since this is the default Samba package that Raspbian currently uses unfortunately. I did check to see if it could be upgraded using apt to something a little more recent but
2019 Apr 01
1
Can only access new SAMBA fileshare from Windows as privileged user SAMDOM/Administrator, not as an ordinary user.
Cheers, that fixed it! :O) So, if I may summarise what we have just discussed. 1) All newly created samba users need to have the uidNumber attribute set to a unique value (within the range specified in smb.conf for SAMDOM) when using ad backend with RFC2307. 2) All new groups need to have the gidNumber set to a unique value (within the range specified in smb.conf for SAMDOM) when using ad
2010 May 04
1
interdomain trusts / wbinfo and listent_recv: returned no users
As per earlier post, I was having problems getting trusts setup between my Samba domain (3.0.x PDC, 3.4.x BDC on Solaris 10) and two Active Directory domains (each in a separate forest.) One domain is a test Win 2003 PDC in native Win 2003 mode, the other is a Win 2008 system also in native Win 2003 mode. To summarize some of the progess- things work better if the Samba 3.4 is the PDC,
2019 Mar 29
2
Can only access new SAMBA fileshare from Windows as privileged user SAMDOM/Administrator, not as an ordinary user.
Hi there, I wonder if anyone can help me? I recently created an active directory setup with a primary domain controller ad1 and secondary domain controller ad2 for a domain SAMDOM. In-line with what I understand to be Samba best practices I then setup a separate file-server fs1 on which I created a file share, /fsrv/shares/OgdenFiles/. This has all been done using Samba version
2019 Apr 16
2
samba-backup.sh problems - is the /var/lib/samba/etc folder essential in a Samba installation?
Hi everyone, I am running Samba 4.5.16-Debian on Raspbian OS and I am currently attempting to deploy the provided samba-backup.sh script within my existing SAMBA installation to implement disaster recovery on my AD DC servers. Following the documentation provided here https://wiki.samba.org/index.php/Using_the_samba_backup_script I have so far managed a partial success on my backup: pi at
2017 Jun 23
5
OpenSSL 1.1 support status : what next?
OpenSC has taken a different approach to OpenSSL-1.1. Rather then writing a shim for OpenSSL-1.1, the OpenSC code has been converted to the OpenSSL-1.1 API and a sc-ossl-compat.h" file consisting of defines and macros was written to support older versions of OpenSSL and Libressl. https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/sc-ossl-compat.h The nice part of this approach is
2007 Aug 25
3
Capistrano / Net-ssh install errors skipping require of...
I''m trying to find out why capistrano will not run on my computer. I am running Ubuntu 6.06 dapper drake. Rails 1.2.3 I get errors when i try to run cap -h or cap anything... /usr/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/transport/ossl/hmac/none.rb:27: uninitialized constant Net::SSH::Transport::OSSL::HMAC::Abstract (NameError) When i install net-ssh i get the message
2005 Jun 06
3
Configuring Samba with LDAP
Hello, I'm having problems configuring Samba to work using ADS. I've successfully compiled LDAP. When I try ./configure --with-pam --with-winbind --with-ads --with-krb5 --with-ldap It says "Active Directory support requires LDAP support" Are there any variables that need to be set? I've done --with-ldap=/usr/local/openldap (This the prefix for openldap). I'm
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for the life of me can''t figure out why I''m getting this exception thrown. I''ve switched from Switchtower to Capistrano, and when I run rake deploy I get this output: ** [update_code] exception while rolling back: NameError, uninitialized constant Net::SSH::Transport::OSSL
2018 Feb 08
3
pjsip trunking configuration issue
Greetings ! My goal is to get Twilio trunking working, and with TLS/SRTP. I see this concerning message in my log: [Feb 7 16:50:26] ERROR[20596] res_sorcery_config.c: Could not create an object of type 'endpoint' with id ?twilio' from configuration file ?pjsip.conf? Thus, ?pjsip show endpoints? does not show the endpoint for the Twilio trunk. Hoping for a sanity check of
2006 Jan 17
2
Switchtower & OpenSSL
I''ve been deploying local applications into production (both linux boxes) with Switchtower, and I''ve had no problems, until now. I just tried doing a "rake deploy", and I get this error: ============ [update_code] exception while rolling back: NameError, uninitialized constant OSSL rake aborted! no such file to load -- openssl ============ Now, on both the production
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks, when I try to do something like: define railsproject($name, $uid, $gid, $userpass, $sqlpass) { mysql_database { "$name_staging": ensure => present } mysql_database { "$name_production": ensure => present} ....more stuff... } I get: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Mysql_database[] is already
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all, I am starting out to play with capistrano. I installed the capistrano gem, and I got some messages. I am not sure if these are errors, warnings or just status messages.I hope someone here can help me understand these messages, so that I don''t suspect Capistrano installation if I run into issues further down. :-) binil$ gem install -r capistrano Attempting remote installation
2019 Sep 29
2
Machines joined to a domain can't access shares on standalone Samba server
Greetings. I updated and old server to run Samba 4.9, It was running a distribution that still supported Samba 3.x. That Samba server has always been standalone, there is no interest in joining it to the Windows AD domain already in place. When it was running on Samba 3, users from a Windows domain joined machine, users were able to use the defined user on the Samba server to access the share.
2004 Jun 14
1
PAM_RHOST item
A little problem, which is bugging me: when using PAM authentication, Dovecot (0.99.5) does not set the PAM_RHOST item, so the PAM modules cannot know who the client is. We need this for some PAM module doing access control. Changing passdb-pam.c to pam_set_item it seems trivial, but I'm bugged as to how to get the client name from there. It seems not to be available in the auth_request
2017 Jun 23
2
OpenSSL 1.1 support status : what next?
Hello Ingo, On Fri, Jun 23, 2017 at 1:26 AM, Ingo Schwarze <schwarze at usta.de> wrote: > > Hi Emmanuel, > > Emmanuel Deloget wrote on Fri, Jun 23, 2017 at 12:26:47AM +0200: > > > * the openssl team has no real incentive to propose a shim ; > > If major application projects refuse to support their new release, > thus putting pressure on operating system
2023 Jun 21
2
PJSIP not performing outbound authentication
I am using Asterisk 20.3.0 with PJSIP. I have setup a trunk to my ISP (Twilio) who requires outbound authentication. My pjsip.auth.conf contains: [Twilio] type=auth auth_type=userpass password=mysecret username=myun However, my calls using the trunk are rejected with a 403. Using pjsip logging I notice that the outgoing invite does not have an authentication line. Why is Asterisk not sending
2006 Feb 11
0
Samba + ldap, acounts expiring? but pdbedit says otherwise
Apologies if this is a RTFM issue... My first question is: anyone know of code that can assist in going through samba logfiles (looking for errors, etc.)? I have what appears to be a password expiration problem. User X has been able to mount a shared drive off the samba box using his login/password. Suddenly it doesn't appear to work: he can run "net use Z: \\server\share" from