Displaying 20 results from an estimated 7000 matches similar to: "Samba as domain member to another samba PDC"
2012 Apr 04
1
(no subject)
Hi Moray,
?
Thanks for your answer. It could help but only partially.
?
The script name logon%u.cmd was a bad example. Actually, a user can log on from WinXP , or Win 7 workstations, and I'like to run different logon scripts depending on the OS . So having logon script = logon%a.cmd in the smb.conf generally works thanks to variable substitution.
?
But for user accounts that have been
2012 Apr 03
1
macro characters with pdbedit ?
Hi,
I would like to change the Logon script name attributes of a samba user account to something like logon%u.cmd using pdbedit with the --script option. It does not work because the string logon%u.cmd is litteraly taken as the value, loosing the variable substitution at evaluation time. pdbedit -v output gives "Logon Script : logon%u.cmd" .?
When creating a user account without
2007 Sep 12
1
Clearing account lockout
I recently am migrating my PDC from NT4 to Samba 3.025. Apparently due to a
mismatch between the capitalization of the Windows account and the Unix
account (Administrator vs administrator) I managed to lock the account
before catching the discrepenacy.
# pdbedit -v administrator
Unix username: Administrator
NT username: Administrator
Account Flags: [ULX
Bad password count
2014 Dec 15
3
Strange problem with pdbedit -Lv : missing users ?
Dear all,
I have a very strange problem with "pdbedit -Lv" under Samba 3.3.10, a
lot of users and machines are missing !
Strangely, all these missing machines and users are working perfectly
well.
The problem is that I need to get their SID to be able to migrate to a
new server...
TECHNICAL DETAILS :
* Samba 3.3.10
* Number of machines :
* Unix : 128 machines
* pdbedit
2018 Apr 27
1
wiki suggestions, part 2
Am 26.04.2018 um 20:07 schrieb Harry Jede via samba:
> No, i have created 2 users with same sid.
>
> root at capella:~# pdbedit -Lv | grep "User SID" | sort|uniq -d
> root at capella:~#
>
> root at capella:~# pdbedit -L|grep Failing
> ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2
>
2009 May 15
4
Timing in a script
Hi, all --
I am trying to write a script in which I can add users and their samba passwords easily and quickly.? It looks something like:
?? useradd -c "User Name" -g groupname -p unixpassword accountname
?? echo -e "smbpassword\nsmbpassword\n" | pdbedit -a -t -u accountname
If
I type the lines from the keyboard, it works fine.? However, when I try
to execute the script, the
2005 Aug 09
1
pdbedit not working as documented
I have am hitting a wall with pdbedit, as shown below.
Any workarounds would be greatly appreciated.
I am encountering the inability to change any users (profile) SID on Samba
3.x for Linux and BSD, which causes the accounts to no longer recognize
their local Samba 2 profiles once they join Samba 3 domain. If I add a new
user and pdbedit -a user -U SID it ignores the -U.
The old profiles appear
2004 Jun 09
1
pdbedit
I have a couple of questions about pdbedit.
I am having trouble using pdbedit in shell scripts.
First, on a freshly installed system with no-one in the tdbsam database,
trying to add multiple machine accounts via a loop construct in a shell
script fails with a message that the database can't be found/doesn't
exist. I then added root manually just to get the system going, which
solves
2008 Mar 26
2
user accounts
I am confused on the various account creation methods in samba. I am
running Fedora Core 8 and Samba 3.0.26a-6.
1.)
I can create a user with pdbedit -a
I can create a user with smbpasswd -a
I can list the users with the pdbedit -L command
Where is the file with the users that the above commands create and
pdbedit -L lists?
2.)
In SWAT under "server password management" I created a use
2014 Dec 15
2
Strange problem with pdbedit -Lv : missing users ?
Thank you very much for your answer.
It's the default, internal backend. (smbpasswd)
a) If I do :
tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc
I get 95 machines (this number looks good).
b) smbpasswd is a text file that looks good.
c) I can also do "tdbdump secrets.tdb dump"
Thanks a lot in advance for any advice,
Denis
Le 15.12.2014 22:00, Gaiseric
2009 Oct 08
6
Change Allowed Workstations with pdbedit
Dear Samba Users,
I have a Samba 3.2.5 Server running on Debian. I use tdbsam as a password
database and wonder how I can change the "Workstations" value in order to
control the allowed workstations for a particular user. Last year I had a
configuration with ldap using the smbldap tools where it was possible to set
this value. But how can I set it without LDAP just using pdbedit?
2007 Sep 19
1
pdbedit -P "password history" doesn't work !!
Hi !
This is my firs post here. I've got a problem with password history
policy -C 3 which doesn't work !!
I set policy
pdbedit -P "maximum password age" -C 777600 (90days)
pdbedit -P "minimum password age" -C 691200 (80days)
"user must logon to change password" -C 2
"password history" -C 3
On clients (XP PRO) some of people
2007 Jan 11
1
pdbedit problems
Greetings,
I am running samba-3.0.10-1.4E.9 installed from rpm on CentOS 4.4. I
have it configured as a PDC. It is using the /passdb backend = tdbsam/
backend. I am using /pdbedit/ to make some configuration changes to user
passwords. I would like to expire a users password, so that they are
required to change it the next time they log in. From all that I have
read in on-line resources
2005 Jan 06
1
pdbedit syntax for forcing user to change password
Hi all
Maybe a stupid question, but I'm not able to figure this out from the
manpage nor from the HOWTOs...
How can I force a user to change his password at next logon?
I tried:
# pdbedit -P "user must logon to change password" -C 0 -u username
# pdbedit -u username -P "user must logon to change password" -C 0
# pdbedit -P "user must logon to change password"
2017 Mar 29
1
Provision new domain keeping users and passwords
2017-03-29 16:42 GMT-03:00 Rowland Penny via samba <samba at lists.samba.org>:
> On Thu, 30 Mar 2017 08:18:30 +1300
> Andrew Bartlett <abartlet at samba.org> wrote:
>
> > On Wed, 2017-03-29 at 15:06 +0100, Rowland Penny via samba wrote:
> > > The users password is stored in an hidden attribute which is
> > > supposed to be unreadable, but you can read
2004 Jan 09
1
pdbedit bug?
If I try to do the following:
/usr/local/samba/bin/pdbedit -a -u someusername -U 5000
This works as one would think, the account is created with a RID of 5000.
But when I do:
/usr/local/samba/bin/pdbedit -a -m -u somemachinename -U 3000
It does not work as you would think. The account is created but with
the RID of the Unix UID*2+1000 not, a RID of 3000 as specificed on the
command line. And
2014 Dec 16
2
Strange problem with pdbedit -Lv : missing users ?
the testparm command will show you the location of the password file and
the backend type
e.g.
smb passwd file = /etc/samba/private/smbpasswd
passdb backend = tdbsam
The backend file should be a TDB database file , not a plain text file
(unless left over from an older version.)
You may have users or computers with duplicated SIDs. You should
also use "getent
2017 Mar 29
2
Provision new domain keeping users and passwords
Hi, Rowland.
2017-03-29 11:06 GMT-03:00 Rowland Penny via samba <samba at lists.samba.org>:
> On Wed, 29 Mar 2017 17:30:28 +0400
> Mike Lykov via samba <samba at lists.samba.org> wrote:
>
> > 29.03.2017 16:52, Santiago Londoño Mejía via samba пишет:
> > > Hello,
> > > Is this procedure for samba as DC?
> >
> > I'm in doubt about it,
2015 Apr 28
2
Change user SID on Samba 4.1
Hi, Is there any way to change the SID of an user on Samba 4.1?. I've tried:
pdbedit -U newSID -u user
pdbedit -u user -U newSID
pdbedit --'user SID'=newSID -u user
but it shows the user infor without change anything.
Thanks!!
2004 Jul 21
2
PDBEDIT USE - ACCOUNT FLAGS AND POLICIES - 2ND TIME
Hi everyone...
Can somebody help me?
I've sent this last Sunday but nobody has replied.
Cheers,
Rafael
-----Mensaje original-----
De: Rafael Paris [mailto:rparis@hotelmaruma.com]
Enviado el: Domingo, 18 de Julio de 2004 06:58 p.m.
Para: 'samba@lists.samba.org'
Asunto: PDBEDIT USE - ACCOUNT FLAGS AND POLICIES
Good afternoon everyone.
I'm trying to set account control flags and