Displaying 20 results from an estimated 20000 matches similar to: "pdbedit's add machine option"
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:
2008 Aug 06
1
Problem with pdbedit during add machine account
Hi,
I have running LDAP + SAMBA as PDC on gentoo and I have problem with
adding machine account.
Whem I try add machine account with pdbedit -am 'hostname' I have this error:
smbldap_search_domain_info: Searching
for:[(&(objectClass=sambaDomain)(sambaDomainName=OFFICE.KENS.PL))]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
2004 Jun 15
0
pdbedit - RID for machine accounts
Hi,
I've tried to search for the problem on the lists without finding a
solution.
I'm trying to recreate a crashed PDC system on a new system with samba
3.0.4. It is a small domain and I use tdbsam as a backend. No LDAP (yet ;).
I could actually retrieve the old SIDs from a backup file, and also the
smb.conf file. All other files was though lost :(
I managed to give the new domain (PDC)
2006 Jul 13
0
Can't create machine accounts or join domain (automatically or manually with scripts or pdbedit)
Hello,
I've seen other folks posting with this problem, but I think my issue is a
bit different (thus the super long subject).
The environment is Solaris 9 09/05, running Samba 3.0.22/Sun DS 5.2/idealx
scripts 0.9.1, but I can translate openldap/linux/samba-ese if you think of
a solution that would apply in that environment.
Anyway - my core problem is an inability to add machine accounts
2007 May 25
0
Can't create machine accounts or join domain (automatically or manually with scripts or pdbedit)
Tony,
I am having pretty much the same issue that you were having with your
Samba + Ldap setup it is listed below...did you happen to solve this
issue or figure a work around ?
Thanks,
STEVE
Hello,
I've seen other folks posting with this problem, but I think my issue
is a
bit different (thus the super long subject).
The environment is Solaris 9 09/05, running Samba 3.0.22/Sun DS
2003 Oct 30
1
Synchronizing offline files that I am not the owner of fails (Samba 2.2.8/3.0.0)
Hi everyone,
Problem: Windows XP's offline files synchronization fails with an
"Access is denied" message, if you have edited an offline file that you
have group based access to, but you are not the owner of. (Not using an
ACL-compatible filesystem.)
In 2.2.x the change appears to be successfully written to the server
anyway; subsequent synchronization attempts suggests that the
2003 Nov 05
0
samba3 + ldap pdbedit machine trust account problem
Please help,
I am experiencing a weird error when trying to join a winXP Pro
workstation to my samba3 + LDAP Domain.
When I specify the account to on my system that has uid 0, I receive a
user account cannot be found error.
Now I know this isnt the case since I can browse the samba server with
this account. Note: it is in tdbsam not ldap
When I look for the machine account in the ldap
2008 Aug 12
2
pdbedit will only add users to the local machine domain, not the global domain
Hello all,
When I try to add a user to my secrets.tdb file on my Samba 3.2.0 PDC, the
users are always added under the local machine domain, not the global domain.
That is, if my PDC machine name is srv1, and it is PDC for the domain DOM1,
then whenever I add a user using "pdbedit -a -u username", then that user
gets placed under the local domain SRV1, not the global domain DOM1. So my
2006 Feb 19
3
Adding machine account to LDAP with pdbedit fails
Hello everyone,
I am having a problem adding a machine account with pdbedit. My setup is the
latest samba (3.0.21b) compiled from
source on Solaris 10, SUN's latest JES' Directory Server. I am in a beginning
stage of setting up this environment, so
I may not have done something right. I was following the Samba PDC LDAP howto
by Ignacio Coupeau
2000 Mar 16
1
MACHINE.SID - what if I delete it
Hello,
I'm doing all sorts of testing with samba 2.0.6 and NT wks domain
logons. It is just a test environment, and since deleting and recreating
the /etc/MACHINE.SID file nothing is working.
If a person deletes that file, what has to be done to get NT wks domain
logons to work again?
Delete and recreate the machine names in passwd and smbpasswd?
Delete and recreate the NT usernames in
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
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 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