similar to: manually add machines account - Fails at Primary Group

Displaying 20 results from an estimated 40000 matches similar to: "manually add machines account - Fails at Primary Group"

2005 Dec 06
2
User Primary group problem
How do I establish both a user's primary NTgroup and Unixgroup when creating a new user? Depending on the tool, I can set his NTgroup or his Unix group, but I don't seem to be able to establish both with one tool. I'm having a little difficulty with creating users with the proper groups. My login scripts are based on the user's primary group. When I create a new user with
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:
2006 Nov 25
3
Impossible to change Primary group
I have Samba PDC and use tdbsam backend. I use the version 3.0.11, but recently I have exchanged it for the version 3.0.23c. Now I have a number of problem. Here is one of then. I wish to move one user "gad" from Domain Users (RID 513) to Domain Guests (RID 514). Now Primary group of user "gad" is "Domain Users": pdbedit -Lv gad -d0 Unix username: gad NT
2004 Apr 05
0
samba3 PDC machine trust acount changes to user-account
Hi to all, I have a problem with samba3 working as a PDC and can't find anything about this but it drives me mad. Perhaps some of you saw this before. Installed I've got the debian paket v3.0.2a-1. After creating a machine trust account with: "pdbedit -a -m -u MACHINE" it seems correct -> "pdbedit -Lv MACHINE" lists a "W" in account flags. But that
2009 Apr 23
0
problems using smbpasswd to enable/disable workstations trusted accounts
Greetings, My name is Alceu and I was trying to create some scripts to enable/disable users when I found this strange behavior with the account flags: # please assume that the Unix user is already created root@midgard:~# smbpasswd -a -m lab16$ Added user lab16$. root@midgard:~# pdbedit -Lv lab16$ Unix username: lab16$ NT username: Account Flags: [W ] ... root@midgard:~#
2005 Jul 05
0
changing the primary group of a user
Im having a strange problem... I have a few users created (few = 100) with gid = to uid. Like this: dlanger:x:1229:1229::/home/dlanger:/bin/false jbranca:x:1230:1230::/home/jbranca:/bin/false cdobenau:x:1231:1231::/home/cdobenau:/bin/false sbarabani:x:1232:1232::/home/sbarabani:/bin/false And i have a the new ones like this: nharrington:x:1233:100::/home/nharrington:/bin/false
2004 Jun 03
0
Changing user SID or Domain (doesn't work)
I'll start off with my question: how do you change a user's SID? When I issue the command: [root@server root]# pdbedit -u testuser -U \ S-1-5-21-4000410194-515421893-615041212-2006 I see testuser:516:Test User [root@server root]# Then, I do "pdbedit -Lv testuser" and it still shows the old SID. Now, I'll give you a little background. Previously, this server (NetBIOS
2019 Aug 15
1
Reset Locked account
So you have to reset the other account flags after doing it? On 08/15/2019 02:43 PM, Kris Lou via samba wrote: > pdbedit -c="[]" <user> > > This clears the Account Flags (warning, clears ALL Account flags) that you > can also view via "pdbedit -Lv <user>" > > > Kris Lou > klou at themusiclink.net > > > On Thu, Aug 15, 2019 at 12:11
2018 Apr 27
1
wiki suggestions, part 2
Am 26.04.2018 um 20:07 schrieb Harry Jede via samba: > No, i have created 2 users with same sid. > > root at capella:~# pdbedit -Lv | grep "User SID" | sort|uniq -d > root at capella:~# > > root at capella:~# pdbedit -L|grep Failing > ldapsam_getsampwsid: More than one user with SID [S-1-5-21-3958726613-3318811842-4132420312-21010]. Failing. count=2 >
2009 Sep 09
0
Samba update 3.0.14a to 3.2.5 -> machine needs unix account!?!
Hi list, i've updated from 3.0.14a to 3.2.5 using a PDC-LDAP-setup. With 3.0.14a the "Primary Group SID" value was taken from LDAP's machine account entry. #pdbedit -Lv machine$ -d 10 ... ... smbldap_search: base => [o=mybase], filter => [(&(uid=machine$)(objectclass=sambaSamAccount))], scope => [2] init_sam_from_ldap: Entry found for user: machine$
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
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
2014 Dec 15
3
Strange problem with pdbedit -Lv : missing users ?
Dear all, I have a very strange problem with "pdbedit -Lv" under Samba 3.3.10, a lot of users and machines are missing ! Strangely, all these missing machines and users are working perfectly well. The problem is that I need to get their SID to be able to migrate to a new server... TECHNICAL DETAILS : * Samba 3.3.10 * Number of machines : * Unix : 128 machines * pdbedit
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
2005 May 23
2
Problem with PDC OpenLDAP logon at Win2K/XP
Hello I've installed Fedora Core 3 (Test 3, kernel 2.6.8x), with Samba 3.0.8 and OpenLDAP 2.2.13 . I've smb.conf, slapd.conf, ldap.conf, /etc/pam.d/system-auth, nsswith.conf almost same as described on Idealx site. I've very strange thing. If I add user ( for this operation I use smbldap-tools), I can log on by this user at my unix host (for example by ssh), I can logon by this user
2014 Dec 15
2
Strange problem with pdbedit -Lv : missing users ?
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 I get 95 machines (this number looks good). b) smbpasswd is a text file that looks good. c) I can also do "tdbdump secrets.tdb dump" Thanks a lot in advance for any advice, Denis Le 15.12.2014 22:00, Gaiseric
2014 Dec 16
2
Strange problem with pdbedit -Lv : missing users ?
the testparm command will show you the location of the password file and the backend type e.g. smb passwd file = /etc/samba/private/smbpasswd passdb backend = tdbsam The backend file should be a TDB database file , not a plain text file (unless left over from an older version.) You may have users or computers with duplicated SIDs. You should also use "getent
2003 Jul 28
0
Samba 3 beta 3 Machine Trust Accounts
Okidokey Heres the story We currently have an NT4 Domain with 50+ machines connected to it, we have one NT4 PDC and two NT4 BDC's. We Currently have three redhat 7.3 servers that offer up our file shares using Samba 2.2.x As opposed to "upgrading" to windows 2000 we want to see if we can migrate across to a Samba controlled domain. Now then I currently have a test machine that is
2007 Jan 11
1
pdbedit problems
Greetings, I am running samba-3.0.10-1.4E.9 installed from rpm on CentOS 4.4. I have it configured as a PDC. It is using the /passdb backend = tdbsam/ backend. I am using /pdbedit/ to make some configuration changes to user passwords. I would like to expire a users password, so that they are required to change it the next time they log in. From all that I have read in on-line resources