similar to: SAMBA digest 1703

Displaying 20 results from an estimated 900 matches similar to: "SAMBA digest 1703"

2003 Feb 26
2
Scripting with smbpasswd
Hi All, I'm writing a website on which users can change their Samba-password. I therefore use the smbpasswd-utility which I execute through the PHP function system (or exec, it doesn't really matter). I have to use the -s switch for smbpasswd to enable it to read input from STDIN, which I redirect to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r
1998 May 29
2
Encrypted passwords
Is there a tool, either for Perl or C, that will add/change the NT and LM encrypted passwords in the smbpasswd file? I know about the smbpasswd command, but I can't use that function from a script. I tried #!/bin/perl system("smbpasswd \< $oldpassword\n$newpassword\n$newpassword\n"); and some other things, but I couldn't get it to work. TSD
2010 Jan 29
0
Plugin not catching exceptions
Hello, I''m writing a plugin which make an xml-rpc call that throw an exception if the foreign call fail (due to a bad fault-structure). So I catch this exception in my code (I expect it to fail) : [...] server = XMLRPC::Client.new( host, "/xmlrpc/db", 8069) begin result = server.call("change_admin_password", oldPassword, newPassword) rescue
2019 Nov 18
0
Azure AD SSPR
Hi All, Samba 4.9.2. Domain and forest level at 2008. We are trying to configure password reset through Azure AD and are encountering the following error on the server running the AD Connect tool: TrackingId: 3cad8144-fb82-4cc4-849b-31b2b43cc277, Reason: Synchronization Engine returned an error hr=80004001, message=Not implemented, Context: cloudAnchor: User_82f99156-5aff-41f1-a1c5-502f356e9039,
2017 Mar 27
0
Users list and the date the password will expire
On Sun, 26 Mar 2017 20:51:26 -0400 Mark Foley wrote: > > On Sun, 26 Mar 2017 19:31:48 -0400 Mark Foley wrote: > > > > On Sun, 26 Mar 2017 19:53:01 +0100 Rowland Penny wrote: > > > > > > On Sun, 26 Mar 2017 14:32:53 -0400 > > > Mark Foley via samba <samba at lists.samba.org> wrote: > > > > > > > > > > as root: >
2017 Mar 27
0
Users list and the date the password will expire
Matt - thanks for the tip on passwdqc. That is not installed by default on Slackware, but it is in the SlackBuilds repository. I'll install it and check it out. On Mon, 27 Mar 2017 13:32:53 -0400 Matt Savin wrote: > > Hello Mark, > > Thank you for sharing! I would probably replace password length and > complexity check with: > > if [[ $(echo -e
2002 Sep 13
1
Samba 2.23 ACL support ?
Hi, I am evaluating samba with RH 7.3 in a test environment and supposed to go live by end of Sep02, hopefully. I will be replacing file and print server first in a environment of more than 1500 users. I have been reading through massive docs and trying to find out the exact strategy to shoot at. In doing so i have achieved some success, but i definately need further assistance. Apologies, if I
2005 Feb 19
1
Uniden UIP200, please help
Anyone using the UIP200 with *? I am having difficulty getting the phone to register and *stay* registered for more than 4 seconds. The * console shows the UIP200 registering and records the user agent. The UIP200 displays station name and time on its LCD, then 4 seconds pass and it shows #1 DISCONNECTED. The * console reports no problem and believes the device to still be registered. A call
2006 Jun 16
0
rake spec controller test output hideus.
Is there any way to change the output of rake spec fails? The errors are just totally over the top ugly and not helpful. First of all the ruby -Ilib line always comes before each test and I find it distracting. But if an error occurs on something that is not nil it just gives me the entire contents of that object and that is no small matter when the object is a HTTP request response. Here is
2014 Apr 30
2
Changing active directory user password via LDAP
Hello, lists. I'm struggling to find out, how one can change password of an active directory (based on samba4) user via LDAP. The problem is that if I try to use userPassword parameter: dn: CN=John Smith,cn=Users,DC=domain,DC=com changetype: modify replace: userPassword userPassword: newPassword ldapmodify -v -c -a -f filename.ldif -H ldaps://server.domain.com -D\ administrator at
2019 Oct 25
3
Old samba password is valid after setting the new one.
Hi, I've detected a very strange behavior on samba 4.8.9 and 4.10.6. After setting a new password for a user with samba-tool the old password remains valid. The user can use both passwords. After setting the third password become the first password invalid: :~ # samba-tool user setpassword extisadm --newpassword=12AbCdEf Changed password OK :~ # samba-tool user setpassword extisadm
2003 Apr 27
2
smbpasswd via cgi
using samba and ldap - redhat 7.3 trying to work on a short cgi to update samba password (it is a url with attributes username and password). I am not very good at all with perl, so if someone can take a quick ponder and help me out, that would be great. I think that it fails in theory however, because to change other users password, you need to be root ... So I was wondering if anyone knows
2007 May 15
1
Building package on Windows
Hello, I have been trying to build a package for R to use on windows. I have been able to build it with out problems except for one thing. I am creating a zip file to be installed by the R gui. I have four directories under the main dir. I have data, man, R, and src. The problem that I have been having, is that the data directory is being zipped up, then when I install the package the data
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If there''s already a topic on this, forgive me but the search isn''t working right now. I seem to have a problem validating confirmation of a password. The first two snippets are some model code and some test code that work just fine: ---------------------------- class Challenge < ActiveRecord::Base
2014 Feb 17
1
ldap_modify change password
Hello, I would like to change samba4 AD user's password using php. Here's my code: function UpdateLdapPassword($username, $newpassword) { global $ds; global $rdn; $entry["clearTextPassword"][0]=base64_encode(iconv('UTF-8','UTF-16LE',$newpassword)); $bReturn= ldap_modify ($ds, $rdn, $entry);
2004 Mar 05
1
win32-etc change_password
Hi all, I''ve been updating this thing and, on my Windows XP Pro box, the Admin.change_password method doesn''t seem to work. I keep getting "user not found" errors, even though I can see that the user is definitely in place. In fact, it doesn''t seem to work for the 0.2.0 release, even though I could swear I had it working. Also, is it possible to change the
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 29
2
Difficulties retrieving randomly assigned password for newly created Samba user acounts
Hi everyone, I am using Samba 4.5.16-Debian on Raspbian and thanks to the help offered by everyone here I now finally have a mostly-working Active Directory network. I am now at the stage of creating 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
2015 Nov 19
3
Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
Hello, I am stuck with a error when setting password for a couple of specific users. This error makes impossible to set the password for the affected users. In Windows I get an operation error but the samba-tool output is more informative: samba-tool user setpassword user2 --newpassword= New Password: ndr_pull_error(11): Pull bytes 2 (../librpc/ndr/ndr_basic.c:103) ERROR: Failed to set
2019 Jul 26
2
'samba-tool user setpassword', PwdLastSet and expiration...
I've a script 'infrastructure' that manage password propagation between some domains/password sources. When, in my AD domains, i ''consume'' a passord caming from another domain, i run: samba-tool user setpassword ${USER} --option="check password script"="" --newpassword="$mypassword" and the script exit with status 0 and print