search for: smbpasswd

Displaying 20 results from an estimated 6127 matches for "smbpasswd".

2016 Mar 04
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...UNTESTED!) patch? >> >> Thanks, > Gna, should have at least compiled it.... > > New patch :-) > > Volker > Sorry Volker, it didn't work :-( It still segfaults and valgrind now shows more errors, see attached files Rowland -------------- next part -------------- smbpasswd -a ldap03 New SMB password: Retype new SMB password: Added user ldap03. Segmentation fault root at testpdc:/usr/src/samba/samba-master# gdb smbpasswd GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/l...
1999 Jan 27
0
Encrypted passwords really necessary for PDC ?
I've attached a perl script that I wrote to build smbpasswd from /etc/passwd. Please note that this writes a samba-2.0 format smbpasswd file. This script will: # - create accounts that exist in /etc/passwd and not in smbpasswd # - remove accounts that exist in smbpasswd and not in /etc/passwd # - preserve existing password, flags and LCT fields in smbpas...
2006 Jul 18
1
scripting smbpasswd not working..
Hello all, I'm sure I can't be the only person with this question.. but I just didn't see it answered.. how do you script smbpasswd? I've tried echo password | smbpasswd -sa name smbpasswd -sa name password echo password | smbpasswd -D5sa name (this gets me the ability to add a password by hand..) # echo password | smbpasswd -D5sa name Netbios name list:- my_netbios_names[0]="SNAP" Attempting to register passd...
2016 Mar 04
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On Fri, Mar 04, 2016 at 10:53:17AM +0100, Volker Lendecke wrote: > On Wed, Mar 02, 2016 at 09:23:34AM +0000, Rowland penny wrote: > > OK, here is the output: > > Can you try the attached (UNTESTED!) patch? > > Thanks, Gna, should have at least compiled it.... New patch :-) Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax:
2010 Jul 03
2
pam_smbpass.so passdb.tdb support
Hi, Recently I have installed samba 3.4.8 on my device. Since then ftp (vsftp,proftpd) which is taking users from samba database with pam_smbpass.so is not working. After enabling detailed log I have noticed it is looking for the passwords in smbpasswd (/etc/samba/private) which is of zero size . I think all users passwd are located in passwd.tdb.I could fix this by giving "passdb backend=smbpasswd" . somewhere I read smbpasswd is obsolete , and recommended to use tdbsam .. and /etc/pam.d/ftp file is --------------------- root...
2003 May 22
5
X flag in smbpasswd?
mksmbpasswd.sh does not create accounts with the X flag in the password flags field. Does this X matter, and if so, what does it mean? It's not in the man page. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@...
1997 Aug 04
23
smbpasswd
...9.7alpha5 with des, shadow passwords and PAM. I have a new problem now. my 95 clients when set to user level access control and try sharing something give this error. "You cannot view a list of users at this time. Please try again later." I belive this is because the rights on the file smbpasswd [the file containing the passwords] are -rw------- and no matter how I try, whenever I change the rights on this file , the rights get changed back. When a user logs on, requests the file or a new user is added. Might this be a bug, or just me? Anyway is there anymethod of setting permissions to be...
2002 Sep 04
1
Smbpasswd file problem
----- Original Message ----- From: Meenu Gupta To: sabma@lists.samba.org Sent: Wednesday, September 04, 2002 2:21 PM Subject: Smbpasswd file problem Hi , I have installed Samba server on Red Hat Linux7.1. I was trying to provide authenticated access to my shares using the encrypted password via the security = user option in my smb.conf . I have also set the smb password file in the global section of smb.conf as /usr/bin/smbpass...
2006 Aug 06
1
smbpasswd doesn't prompt root for password
Hello. When I run smbpasswd from samba 3.0.23a on a MIPSEL system running Linux 2.4.20 as root, I'm NEVER asked for a password. Even when I create a new user in smbpasswd, I'm not asked: root@HD.bei.digitalprojects.com:/etc/samba# strings smbpasswd root:0:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C08...
1999 Oct 15
2
Samba-based password synchronization
...a hpux 10.20 machine that is NOT TRUSTED that is there are passwords in the /etc/password file. I'm trying to authenticate winnt 4.0 and win95 clients to this server. I have added the following parameters to my smb.conf file: encrypt passwords = yes smb passwd file = /usr/local/samba/private/smbpasswd I have created the smbpasswd using the command cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd. >From what I understand once this smbpasswd file has been created and samba has been restarted (inetd -c for me) windows users can change their passwords and the smbpasswd f...
1998 Dec 04
4
Synchonisation between NIS and encrypted SMBPASSWD
Hello, does somebody have a tool to convert a /etc/passwd to a smbpasswd with getting a valid Lan Manager and NT hash. or does anybody have a trick, how I can synchronise the /etc/passwd with the smbpasswd without changing a unix passwd twice (passwd,smbpasswd). Thanks, Martin *********************************************************************** ** Martin Schuster...
2008 Feb 05
2
Re: samba-3.0.23d, smbpasswd, and "NO PASSWORD" behaviour
Help! (pretty please :) I'm still having the problem described below with samba-3.0.24. Here's an excerpt from the smbpasswd man page: When run by an ordinary user with no options, smbpasswd will prompt them for their old SMB password and then ask them for their new pass word twice, to ensure that the new password was typed correctly. No passwords will be echoed on the screen whilst being type...
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 ldap.domain.org -s...
2009 Nov 13
2
./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort
Hi folks :-) I compiled samba (latest stable v3.4.3) on my debian stable, everything seems ok but when I try to add new samba user ./smbpasswd: ./smbpasswd: symbol lookup error: ./smbpasswd: undefined symbol: _talloc_get_type_abort I already checked useful libreries but I don't understand this problem. what can I do? (samba pre-compiled packages on debian are some grave bugs) thanks :-) Pol
1999 Nov 03
1
Announce: KDE User Manager does smbpasswd.
Hi, I'd like to announce a beta patch to the KDE user manager (kuser) that integrates the management of the smbpasswd encrypted password file with the existing password file. The eventual target audience is administrators installing Samba based PDC's, or other applications where an encrypted smbpasswd file needs to be managed using graphical tools not too dissimilar to those provided by MS....
2002 Feb 21
2
[permissions] smbpasswd vs passwd
Hello Family, I had encounted that as "user" I couldn't change my own passwd with "smbpasswd" and noticed the permission differences between smbpasswd and passwd. This is Samba-2.2.2 -rwxr-xr-x 1 root root 782415 Dec 28 03:14 /usr/local/samba/bin/smbpasswd -r-s--x--x 1 root root 12244 Feb 7 2000 /usr/bin/passwd Is there a reason why the perms are not...
1999 May 04
5
smbpasswd question
Do you have to enable encrypted passwords for smbpasswd to work? I have yet to enable encryption because I wanted to test everything first, but have enabled 'update encrypted = Yes' so that this will update the smbpasswd file. I also have 'unix password sync = Yes'. However, I cannot get smbpasswd to change the passwords, either by...
2007 Apr 30
1
Vampire and Capital Letters
I find Linux to be a nightmare if usernames have capital letters. Some old Windows PDCs that we are vampiring have usernames with capital letters. AFAIK you can't change a windows username Is there a way of telling the vampire to make all usernames lowercase as it imports them? Can I use pdbedit or any other tool to make them lowercase? At the moment I am changing /etc/passwd and the
2016 Mar 06
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On 06/03/16 16:43, Harry Jede wrote: > On 17:34:10 wrote Rowland penny: >> On 06/03/16 15:53, Harry Jede wrote: >>> On 16:47:40 wrote Rowland penny: >>>> /usr/local/samba/bin/smbpasswd -a ldap02 >>> as far as i remember this has never worked! According to the man >>> page this call should add a user to the *local* smb password >>> store. And this is by default /etc/samba/smbpasswd and not any >>> ldap backend. >>> >>> If one w...
2020 Jul 22
3
rpcclient & smbpasswd user PASSWORD_MUST_CHANGE
...ch is the following : - DC Windows 2016 - Archlinux with samba version 4.12.3 I currently have a standard domain user named 'test' which has the attribute PASSWORD_MUST_CHANGE set and my goal is to change this password. During my test is used the following client - rpcclient 4.12.3 -smbpasswd When trying to change the password of the user 'test' with smbpasswd i have no issue and this is behaving like expected (smbpasswd -r 10.10.10.2 -U "CORP.LOCAL\TEST" ) Commands: smbpasswd -r 10.10.10.193 -U "CORP.LOCAL\test" Old SMB password: New SMB password:...