Displaying 20 results from an estimated 40000 matches similar to: "Are tdbsam and smbpasswd linked?"
2009 Mar 30
2
What is the purpose of "add user script"?
Hi All,
I am confused. In one of the examples of a PDC,
the following smb.conf parameter is given:
add user script = /usr/sbin/useradd -m -G users '%u'
If you have "passdb backend = tdbsam" and the way
to add users to "tdbsam" is "pdbedit -a -u username",
what is the purpose of the "add user script"?
I am thinking it is to add the user
2003 Dec 18
2
pdbedit: importing smbpasswd to tdbsam
Hi there,
I'm trying to import a smbpasswd-file into a Samba 3.0 installation on Debian
Sarge using tdbsam as sole passdb backend.
Copying pdbedit's documentation I used
pdbedit -i smbpasswd:/root/smbpasswd.old
The error message returned was tdb_update_sam: Failing to store a SAM_ACCOUNT
for [foo] without a primary group RID
where foo is the username to be imported.
This message was
2011 Mar 29
1
converting smbpasswd to passdb.tdb - machine accounts
Hallo,
I'm trying to convert smbpasswd to passdb.tdb.
cd /etc/samba/private
# (where smbpasswd lies)
pdbedit -i smbpasswd -e tdbsam:/etc/samba/private/passdb.tdb
converts all human users, but it converts (or transfers) no machine
account.
In "smbpasswd" are many entries beginning with (p.e.)
mac001$
for these accounts,
pdbedit -L -v | grep -i mac
shows
2009 Mar 28
7
need good tdbsam reference
Hi All,
Can someone point me to a good reference on how to
configure "tdbsam" ?
Many thanks,
-T
2006 Jan 04
1
tdbsam Question
Dumb question time; I can't find the answer in the Samba-3 or HOWTO
docs: how do you add users to the passdb.tdb (tdbsam's db)? Is
pdbedit the only way? I ask because the Chapt 3 Samba-3 example has
passdb = tdbsam in the samba config file, but the instructions for
adding users are to use useradd and smbpasswd, which leave passdb.tdb
empty (except for root--I have no idea how that
2009 Mar 30
2
failed to create users error
Hi All,
When I have my smb.conf set to "passdb backend = tdbsam",
I get the following errors when "foo" tried to browse
a share:
[2009/03/29 19:44:02, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2009/03/29 19:44:02, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed
2006 Jan 23
4
create smbpasswd/tdbsam from ldapsam/LDAP query?
As some of you may know, I'm trying to set up Samba BDC on a disk- and fan-less tiny mipsel_CPU router running OpenWRT distribution.
I already managed to compile Samba 3.0.21a and OpenLDAP 2.3.18 for it, and they seem to work fine.
The problem is, this tiny distribution for routers doesn't seem to have anything like Name Service Switch (NSS), and relies solely on /etc/passwd
and
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
2010 Jul 08
2
How to regenerate passdb.tdb
Hi,
I was having problem with the tdbsam backend in which a particular user got
listed twice with pdbedit.
(http://www.mail-archive.com/samba at lists.samba.org/msg109110.html)
Without much hope in fixing it, I am planning to re-generating passdb.tdb on
my PDC by:
(1)exporting tdbsam to smbpasswd backend
(2)delete passdb.tdb
(3)re-import smbpasswd to tdbsam backend
With the command `
2007 Feb 16
3
pdbedit password policy - not updating ldapsam
I have Samba and LDAP up and running, but I'm having problems editing the
password policy using pdbedit.
(I'm running 3.0.22)
I've had a look at the man page for pdbedit but I don't really fully
understand what it does in relation to passwd backends. Does pdbedit update
just one backend and expect a user to export the updates to other backends?
I think I've set up ldap as
2004 Aug 05
1
samba PDC problems
I'm trying to set up a samba PDC. I've been following
the directions in "The Official Samab-3" book. I still
don't understand how to add users! I'm using tdbsam
and I set up all the add user scripts and what not in
the smb.conf. pdbedit won't let me do anything unless
I add the user with adduser(what's the point of the
scripts?) and even when I add the user by
2004 Oct 13
1
(no subject)
I have problem adding users after I set up a goupmap. Before there was no
problem.
net groupmap ntgroup=Users unixgroup=users
Users (S-1-5-32-545) -> users
useradd pesho -g users
pdbedit -a pesho
new password:
retype new password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [pesho] without a primary
group RID
Unable to add user! (does it already exist?)
pesho of cource doesn?t exist
2004 Oct 14
1
Problem adding users to the PDC
I have problem adding users after I set up a goupmap. Before there was no
problem.
net groupmap ntgroup=Users unixgroup=users
Users (S-1-5-32-545) -> users
useradd pesho -g users
pdbedit -a pesho
new password:
retype new password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [pesho] without a primary
group RID
Unable to add user! (does it already exist?)
pesho of cource doesn?t exist
2004 Aug 11
1
Unable to add machine
Hi All,
I have a setup using tdbsam as a backend, I can add accounts using
pdbedit -a <username> but I have only been able to add one machine
account. I can't figure out why.
# pdbedit -a -m test
tdb_update_sam: SAM_ACCOUNT (test$) with no RID!
Unable to add machine! (does it already exist?)
I have verified that there is no entry in /etc/passwd or /etc/shadow for
the machine name I
2006 Aug 05
1
cracking smbpasswd
Hi all,
I'm currently migrating from tdbsam to LDAP and want to restructure my setup
at the same time. I can get the SIDs for the user and machine accounts using
pdbedit -Lv | grep SID but I have 800 users so I don't want to reset their
passwords.
So far, I've dumped the contents of the tdbsam database into an smbpasswd
backup file and am running john-the-ripper across it.
2003 Nov 20
2
Migration from LDAP to tdbsam
I need to migrate from samba w/LDAP 2.2.8a to 3.0.1pre3 with tdbsam.
Any suggestions how to keep from having to change all the profiles?
I have read through chapter 30 of the HOWTO but it assumes keeping the
same backend. I need support to munge_dial and that is not available
without mysql or tdbsam....
Thanks in advance for your help.
Sean
2007 Apr 19
1
LDAP, tdbsam, and profiles
I have a new PDC ready to replace an older one (which is using LDAP
locally). The new one will be using tdbsam.
I plan to first change LDAP on the existing system to the tdbsam
backend and ensure proper functioning. I understand I can use the
pdbedit tool to make this change. Comments?
At this point I would like to ask how profiles (which will be stored
locally on the clients) will be
2008 Nov 27
2
How to create users accounts with already encrypted passwords ?
Hi, i need to create users accounts into Samba with already encrypted
passwords from a file. I use tdbsam backend and Samba 3.0.24 (Debian Etch)
The file format is quite easy :
login1|Unix_passwd|Lanman Password Hash|NT Password Hash
First, i create the unix users with their already encrypted password :
useradd -p Unix_passwd login1.
Fine.
But can i do the same thing with smbpasswd or pdbedit
2005 Mar 11
2
Practical guide to migrate from tdbsam to ldapsam
Hello people!
I'd like to know about a practical guide which helps to migrate users
from a perfect working Samba PDC running with tdbsam backend to a new
backend to LDAP. Does "pdbedit -i xxx -e xxx" make all the job? My
network is growing and I need a directory service to help find people so
I'd like to see a LDAP server running well with Samba without rebuild my
user
2003 Dec 08
1
tdbsam to ldapsam
System: Sid ; Samba 3.0.0 ; using tdbsam ; no problems
Goal: Would like to move password, group, and user data to ldap backend.
Problem: I've read Samba-HOWTO-Collection.pdf and don't see exactly how
to do this as the Howto addresses primarily the password backend.
What I've done so far:
1) Created the openldap bdb and the dc=domain,dc=com base and the admin
with password.
2) Run