Displaying 20 results from an estimated 20000 matches similar to: "About: pdbedit command"
2008 Mar 05
2
CENTOS4.6+SAMBA3.0.25+FEDORA-DS
Hi
I am new to linux & Samba. I would like to setup Samba as a
domain controller and using Fedora-ds for authentication.
I have read some documents from www.samba.org but I am still in
the mist.
Here is my dumb questions about Samba as follows.
1. Is CENTOS4.6+SAMBA3.0.25 as PDC +FEDORA-DS possible?
2. Is this HOWTO from
2007 Apr 15
0
pdbedit and root SID/RID
Hi
I've been reading every documentation available for creating smb domain
groups and users, mapping domain groups and users... still learning...
Every document I read states that root should be modified to RID 500, by
running ' pdbedit -U `net getlocalsid | cut -d ":" -f2 | tr -d ' '`-500
-u root -r', but I always get root to RID 1000 and its domain group RID
2014 Sep 04
1
problem with mechanism of samba user SID creation
Hello guys,
as subject says, i've got problem with it. And because i'm in
preparation of migration of users form Samba PDC with passdb.tdb backend
ot LDAP backend, i need to be 100% clear on it.
I can't find the reference to it anywhere, so if anyone can point me in
the right way ..?
What is confusing for me? I'll explain on example:
1. Scenario: Existing Samba PDC server
2011 Aug 09
1
pdbedit profile and homedir not chaning on command
Any ideas why this is not working?
[root at host67 ~]# pdbedit -u testuser -h \\\\five-68\\testuser -p
\\\\five-68\\testuser\\profile
Unix username: testuser
NT username:
Account Flags: [U ]
User SID: S-1-5-21-369316088-3201261441-1704813131-2216
Primary Group SID: S-1-5-21-369316088-3201261441-1704813131-513
Full Name:
Home Directory: \\host67\testuser
2006 Apr 16
0
Samba PDC LDAP: Got too many (2) info entries for domain
Hello there. I'm currently configuring a Samba PDC LDAP Master Server and
two Samba BDC LDAP Slave Servers with slurpd replication service over Debian
3.1 Sarge and Samba 3.0.22. I'm trying to fix a problem related with the
info domain entry. When I execute the "net getlocalsid [Domain]" in the PDC
server, I receive the following response:
# net getlocalsid [domain]
[2006/04/16
2005 Mar 30
1
Adminstrator Domain SID?
In the Samba How-To Chapter 13 it says:
"
The Administrator Domain SID
Please note that when configured as a DC, it is now required that an account
in the server's passdb backend be set to the domain SID of the default
Administrator account. To obtain the domain SID on a Samba DC, run the
following command:
root# net getlocalsid
SID for domain FOO is:
2010 May 05
1
backend migration and Samba upgrade.
Short background :
Due to Windows Seven deplaoyment we have to upgrade Samba 3.0 to Samba
3.4 (actually less version but I see no reason not to go directly to 3.4).
And due to SQL backend support aborted we have to switch from SQL
backend to LDAP backend.
What I have in mind to do this migration is the following :
-install samba 34/OpenLDAP (I also change the machine in the meantime)
2009 Jun 24
1
Migration from samba-3.0.21b-i486 to samba-3.0.27a-x86_64 corrupts root group mapping
Hello.
I went and copied the config files from <source>/etc/samba/* and
<source>/var/cache/samba/* to the target server and deleted the browse.dat
and wins.dat files. The source and target servers have different IPs and
hostnames, so we use "netbios alias". This has worked fine a couple of years
ago. Now after all files have been copied, the old server shut down and the
new
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
2004 Feb 12
1
pdbedit 3.0.2 segfault
Hello
I have samba-3.0.2 installed into /usr/local/samba/ by means of
cd /usr/src/samba-3.0.2/source
./configure --with-acl-support
make
make install
When I run pdbedit -L I get a segfault:
oberon root # pdbedit -L
Segmentation fault (core dumped)
This occurs after samba of unknown version from these two:
3.0.1pre2
3.0.2
has been reinstalled with samba-3.0.2
(gdb) bt
#0 0x400f9bf9 in free
2014 Dec 16
0
Strange problem with pdbedit -Lv : missing users ?
Dear Gaiseric,
Yes, according to testparm the backend is a plain text file :
smb passwd file = /etc/samba/smbpasswd
passdb backend = smbpasswd
Therefore I wonder where the User SIDs are stored ?!
About "getent passwd", yes all users (active users at least) have a Unix
account.
About the users that are missing in pdbedit, there is not error in
smb.log when they log in. (But I
2008 Aug 03
1
user must change password, works in ursmgr.exe but not with pdbedit
Hello
After spending quite a few hours building a completely new domain with
samba as a pdc for a local school I now have everything working(shares,
printers, multiuser addscripts, etc). The only problem I have is that it
is impossible to force user to change password on next logon from
pdbedit. It is possible to set this trough usrmgr.exe but its not really
convenient when adding multiple users
2004 Mar 17
1
Resetting passwords using pdbedit?
[Environment: Samba 3.0.2a with "passdb backend = tdbsam" ]
I want to be able to reset user passwords from the command line
on the Unix server, without knowledge of the existing password.
If I was using an smbpasswd file, I could call the "smbpasswd"
command and it would edit the file. But with a backend, that's
not available to me.
The "pdbedit" command will
2014 Dec 16
0
Strange problem with pdbedit -Lv : missing users ?
And I must admin that I really don't know where to search.
Does someone knows where pdbedit is reading the information displayed ?
Denis
Le 15.12.2014 23:01, Denis BUCHER a ?crit :
> 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
2017 Jun 13
0
pdbedit -x -m fails to delete one machine account on samba 4.6.5 install
Hi.
I'm trying to delete a machine account using pdbedit -x -m and it
fails. Any idea why that might happen?
The machine account exists..
# pdbedit -Lv 'ts$'
Unix username: TS$
NT username:
Account Flags: [W ]
User SID: S-1-5-21-2594621239-3917873753-3682423317-3286
Primary Group SID: S-1-5-21-2594621239-3917873753-3682423317-515
Full Name:
Home Directory:
2007 May 30
1
pdbedit and password expiration
I have been working to get pdbedit to expire passwords. I have seen several bugs related to pdbedit (bugzilla bug 4630 for
example) on 3.0.25 so I upgraded to 3.0.25a, the latest Samba version as of this writing. What I am trying to do is set a
particular user's password to expire on a certain date. If that can't be done, the ability to set it to expire "now" would
be my
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
2004 Feb 21
1
Migration to 3.0.2a
Hi,
I know this issue has already been handled several times, but I couldn?t
find any clear description of the procedure.
I have Samba 2.2.5 running as a PDC on a RedHat 7.3 box, which I?d like to
migrate to 3.0.2a now. Both versions are compiled from source using
different prefixes (/usr/local/samba and /usr/local/samba3), so I can still
use the old version until I get the new one working.
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
2005 Aug 10
0
[GOLUM] RE: pdbedit not working as documented
You think Microsoft's mailing lists and forums are better? Just wait (and
wait, and and ...). Oh, that's right, you can call Microsft for help ,,, and
shell out $295 per.
Dimitri
John McLoskey wrote:
> Thanks everyone for your lack of any response whatsoever, I find it builds
> character to be ignored throughout challenges I encounter in my life. Since
> I was unable to