similar to: What is the purpose of "add user script"?

Displaying 20 results from an estimated 60000 matches similar to: "What is the purpose of "add user script"?"

2009 Mar 30
1
Are tdbsam and smbpasswd linked?
Hi All, I just added three users to my tdbsam with "pdbedit -a -u username" (had to do "useradd" first). All three appeared in tdbsam as they should, as verified with "pdbedit -L". But, all three also appeared in /etc/samba/smbpasswd. This is not a mistake, they were not there before. Are "tdbsam" and "smbpasswd" linked? I am confused.
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
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
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
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
2005 Jun 03
2
[Fwd: Samba Blues]
Ok...I can't believe I'm still struggling with this!!! I've setup a SAMBA server using ARCH Linux 0.7 (Wombat) *what a distro!!* and everything is fine except when it comes to adding machines to the domain (aaarrrgghh). When I try to do it via windows, I get "the domain is no longer available". So I add a machine account manually, then go to windows and walla, I get the
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
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
2011 May 02
3
Issue providing seamless migrtion (3.0.24 to 3.5.6) - sambaNTPassword mystery
Hello everyone, I am operating a migration of samba from 3.0.24 (mysql passdb backend) to 3.5.6 (openldap passdb), samba working as a domain controller (PDC) and file share. The main challenge is to provide a seamless migration for users. For this new version, I am using smbldap-tools 0.9.6, nss_ldap, openldap 2.4. Everything run on FreeBSD 8.2. To get used to samba, I have managed to make
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
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
2003 Apr 17
2
add machine script
I'm using samba 3.0 alpha 23 on debian woody using a tdb backend. I've written a simple add machine script that takes care of the useradd and pdbedit -a -m steps. When I try to add a machine to the domain directly from that machine, without creating the accounts beforehand, I get an "Access Denied" error. After getting this error, I check on the samba machine and see that the
2005 Feb 23
1
pdbedit -Lw reports "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for password
I've searched google and the samba archives to no avail (appologies if I've missed something), so I will ask the community directly: I am trying to convert a fully populated smbpasswd file to the tdbsam backend: # pdbedit -i smbpasswd:./smbpasswd -e tdbsam:./passdb.tdb This seems to work, on the surface, but upon inspection I find that # pdbedit -Lw username
2007 Feb 07
1
"Windows cannot obtain the domain controller name for your computer network" error on XP Pro SP2 clients for Samba 3.0.23d PDC
Hi, I've recently reinstalled our Samba server with a view to getting it working as a PDC using the tdbsam backend. I've successfully connected a number of XP Pro SP2 clients to the domain and can login ok, but I'm have problems getting the clients to read/apply an NTConfig.POL file I created following the instructions at http://www.pcc-services.com/custom_poledit.html I'm seeing
2010 May 27
2
Can only see files one level deep
Hi there, I have been googling all morning, and have thus far not come up with a solution... Server: CentOS release 5.5 (Final) samba-common-3.0.33-3.28.el5 samba-3.0.33-3.28.el5 samba-client-3.0.33-3.28.el5 Client: OS X 10.6.3 (Build 10D578) All patches are applied. SMB CONF: # cat /etc/samba/smb.conf [global] workgroup = WRKGRP netbios name = Boleo server string = (%L) wins support = Yes
2010 May 26
1
One user can't login on PDC without a network connection
Hi, Summary In my testlab I have a Samba pdc setup. All is running fine except for 1 problem. I have a user (B) that cannot login without a network connection, the error message is: "there are currently no logon servers available to service the logon request". When I plug in the network cable I can login again. When I do a network-less login as another user (A) on the same machine I can
2005 Nov 07
2
Trust Accounts and Machine Name Case
I've been very frustrated with getting XP to connect to samba. I added a machine account on Linux useradd -g workstation -d /dev/null -s /bin/false xpmachine$ then pdbedit -a -m -u xpmachine on XP i change the name to xpmachine and connect as root. I'm welcomed into my domain as expected When I reboot I cannot login because my account isn't recognized although I can login as
2019 Aug 08
3
Standalone Server User Import / Export
Am Donnerstag, den 08.08.2019, 10:13 -0700 schrieb Jeremy Allison: > On Thu, Aug 08, 2019 at 05:04:08PM +0200, David Ayers via samba > wrote: > > Hello! > > > > when using Samba [4.5.16-Debian] as standalone server in Windows > > environment to allow certain users to access shares, we are > > currently > > using the default tdbsam backend with a bunch of