Displaying 20 results from an estimated 10000 matches similar to: "Pdbedit <-> /etc/passwd sync? (fwd)"
2009 Nov 10
0
Pdbedit <-> /etc/passwd sync?
Hi,
i have a question about syncing without pdbedit (exactly iformations
stored in passdb.tdb) and /etc/passwd.
I creating user with some comment, for example
adduser test -c "my comment" -d /home/users/test -g 600 -s /bin/false
and then i will add this user to samba
pdbedit -a -s /etc/samba/smb.conf -u test
Now i have stored in samba also comment "my comment", but why?
2009 Oct 12
2
user cannot logon to domain although log says "auth succeeded" (fwd)
Hi,
plese have you some idea for this problem?
thanks, Lukas
--
---------- Forwarded message ----------
Date: Wed, 30 Sep 2009 23:09:59 +0200 (CEST)
From: extmaillist at linuxbox.cz
To: pilsl at goldfisch.at, Volker.Lendecke at SerNet.DE
Cc: samba at lists.samba.org
X-Spam-Score: -1.0 (), 4 required
Subject: Re: [Samba] user cannot logon to domain although log says
"auth
2004 Feb 09
3
pdbedit and password expiry
Hi guys/girls,
How are you ?
I've been struggling to get my users' passwords to expire.
My configuration is samba-3.0 running with the standard smbpasswd
back-end.
Everything that I can find on the web says I should set the following to
expire my users passwords after 28 days.:
pdbedit -v -P 'minimum password age' -C 300
pdbedit -v -P 'maximum password age' -C 2419200
2006 Mar 25
0
Linux box talks to XP Pro, XP Pro permissions deniedon LinuxBox
Let's keep this on list please...
See if you can connect as samba user from samba box...
smbclient -L WHATEVER_YOUR_SERVER_NAME -U Administrator
smbclient -L WHATEVER_YOUR_SERVER_NAME -U Michael
but note - casing is rather odd and might be your problem. UNIX is case
sensitive but Windows/Samba is not case sensitive...
therefore Samba will see 'Michael' as 'michael' and
2005 Jul 29
1
pdbedit - can't set password expiry, etc?
Hi All
Have recently moved from a machine running 2.2 to a new machine running
3.0.10-1. I've just converted the smbpasswd database to tdbsam as I
understand password ageing etc does not work with smbpasswd. I've set
the line 'passdb backend = tdbsam' in the smb.conf, restarted the daemon
and now I'm trying to force a user account to have to change his
password the next time
2009 Jul 09
0
VFS recycle & force user (fwd)
Hi,
have you some idea?
Lukas
---------- Forwarded message ----------
Date: Wed, 8 Jul 2009 08:27:53 +0200
From: deseyve@linuxbox.cz
To: Dale Schroeder <dale@BriannasSaladDressing.com>
Cc: samba@lists.samba.org
Subject: Re: [Samba] VFS recycle & force user
I tried both - recycle:repository = .recycle/%U and also recycle:repository = .recycle/%u
But with same result - samba maked
2006 Sep 12
1
unix password sync = yes, did not sync unix passwd
I'm not sure when the last time I run smbpasswd to change the user
password, however when I run it only change NT and LM hash attribute,
not the unix passwd attributes.
smb.conf:
...
passdb backend = ldapsam:"ldap://127.0.0.1"
unix password sync = yes
passwd program = /usr/local/sbin/passwd.pl %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
2003 Jun 24
2
Samba3-beta1 as a PDC and using tdbsam as passdb backend it takes the home-directory info from /etc/passwd
I didn't get any answers so I try again:
I am using tdbsam as passdb backand.
I have added root user with pdbedit.
The machine trust account was added on the fly.
I have added the user with pdbedit.
I have created the user in /etc/passwd.
When the user logs in from a W2k and mounts the home-directory I noticed
that Samba didn't take the home-directory information from tdbsam, it
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
2007 Feb 08
2
pdbedit: '-G rid' doesn't seem to have any effect
On my Samba PDC, using tdbpass:
'pdbedit -Lv agrotera$' produces:
Unix username: agrotera$
NT username:
Account Flags: [W ]
User SID: S-1-5-21-4211105910-4270789338-3787013593-1414
Primary Group SID: S-1-5-21-4211105910-4270789338-3787013593-513
.....
'getent passwd agrotera$' gives:
agrotera$:x:207:200:SMB
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
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 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)
2003 Oct 03
1
Create machine account samba 3 - can I delete machine in /etc/passwd ( I use ldap backend ) ?
Hi,
The idea is to avoid to have machines accounts in /etc/passwd
and store all on the ldap.
I must have a machine account in /etc/passwd ( normal way ) to
create the account with pdbedit -a -m machine_account.
In fact once it is created , I can delete the account in the
localmachine and machine can connect without any problems. ( the account
stay only in the ldap ). I 've done it.
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