similar to: Scripting with smbpasswd

Displaying 20 results from an estimated 2000 matches similar to: "Scripting with smbpasswd"

2003 Apr 30
1
Is it posible to force Windows 2000 to send print job name?
Hi, I need to log print job's. But Windows 2000 send me only 'Remote Downlevel Document' as a job name (%J macro in print command). (I don't have other Windows system versions to test it there, but from Linux}smbspool command) it works fine - job name is "Remote Downlevel Document + job name"). Is there any possibility how to force (or get) print job name from Windows
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
2003 Jun 10
4
Outlook .pst on a samba share; do or don't?
Hi listers. People here are trying to push me into moving the Outlook .psts on a samba share for back-up reasons. I'd like to hear your experience about this: is it feasible in the size of 20 users with 400...800MB each .pst? Any special settings on samba side? Something special that I should pay attention to? Or is just "NO"?
2003 Feb 28
2
OT? PDF printer driver for automatic deployment
Hi, I've got a printing server running Samba 3.0alpha21 (on Linux). The client machines running Windows 2000 are producing PDF files by printing to a "virtual" printer on the Samba machine. The printer driver shall be installed from the Samba server on demand. I need color output, b/w is not sufficient. Everything works fine, i.e. the PDF conversion process and the automatic driver
2003 Apr 08
6
Samba and ldap groups
Hi, I have just put Samba3alpha23 on my Suse 8.1 box and and implement the new goup structure in LDAP. All works fine expect when you log in a a user other than root on the windows box. The error is : [2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2198) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access)ldapsam_open: cannot access
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
2003 Jul 04
1
use of silent option with smbpasswd
Hello everyone unfortunatly i haven't been able to figure out how to use smbpasswd from a shell script with the -s option. Anyone able to provide me with an example how to change a password for a user on a remote PDC? as root calling smbpasswd -r ntserv username newpassword asks me for the old password. i didn't get it to work with -s. All help very appreciated Kind regards from Germany
1998 May 30
0
SAMBA digest 1703
I'm not a perl guru, and this is off the top of my head, but did you try something like this: #!/bin/perl open(PIPE, "|smbpasswd") print PIPE "$oldpassword\n" print PIPE "$newpassword\n" print PIPE "$newpassword\n" close PIPE regards, Rob Coward >------------------------------ > >Date: Fri, 29 May 1998 15:54:42 -0500 >From:
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
2017 Mar 27
3
Users list and the date the password will expire
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: > > > > > > ldbsearch --url=ldap://mail -b "DC=hprs,DC=local" -s sub > >
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 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
2003 Apr 08
4
Fail to "Connect to printer"
Hi. Samba 2.2.8. I have installed the drivers on the print$ share. The smb.conf looks like this: [printers] print ok = yes guest ok = yes printcap name = /etc/printcap print command = /usr/bin/lpr -P%p -r %s lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j lppause command = /usr/sbin/lpc hold %p %j
2003 Feb 24
5
PDF Printer issue
Hello Everyone, I have a slight issue with configuring a PDF printer on my Samba servers. I have input the following into my smb.conf file and it does create the printer as well as work to create PDF files, except that it only functions when "printing" to that printer via Excel 2002. If I attempt it with anything else, even the Windows Test print, it fails. Now, in the Windows
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
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
2003 Mar 04
1
Too many smbd processes?
Hello People, /etc/rc.d/init.d/smb status yields the following output: smbd (pid 31224 31209 31102 31098 31077 31069 31056 3237 3171 3154 3147 3144 3131 3129 3128 3124 3119 3091 3077 2590 2582 2564 2491 2468 1964) is running... nmbd (pid 31062 31061) is running... In total 25 smbd's and 2 nmbd's, while only five or six users actually use the samba-server. This many processes causes
2003 Feb 25
0
This message was inadvertently quarantined by SPAM filtering software and is being forwarded by US FWS email Administrator
----- Forwarded by FWSDevelopment/FWS/DOI on 02/25/2003 03:45 PM ----- |---------+----------------------------------------------> | | "Florian Stahl" | | | <fstahl@xantury.com> | | | Sent by: | | | samba-bounces+ascannel=fws.gov@list| | |
2016 Apr 27
1
why samba-tool allows password reset against Windows DC ?
The password encryption works because I can modify the password connected to a DC samba4, but the problem is when I try the same with the Windows DC. I'm using a LDAP java library. My question is: what is the samba-tool authentication method that you can reset password connected to a Windows DC using "samba-tool user setpassword Admin --newpassword=PASSWORD -H ldap://10.0.0.3 -U
2019 Mar 11
4
classicupgrade, net rpc rights grant NT_STATUS_IO_TIMEOUT and NT_STATUS_INTERNAL_ERROR
Dear all, we are transitioning from an openldap / MIT KDC setup to a samba4 AD. I am doing this by setting up a samba NT4 domain, populating it from LDAP and sticking in the password hashes which I automatically extract from the MIT KDC arc4-hmac keys. Then I run the classicupgrade. I do this whole thing from cron in a script once a day to be able to slowly migrate services. The MIT / openldap