search for: tdb_update_sam

Displaying 20 results from an estimated 34 matches for "tdb_update_sam".

2007 Mar 23
0
Importing accounts from NT4 domain with Vampire
...n't see any problem on this users configuration in the NT4 server, here is part of the output: thanks. fb_nt2:/etc/samba# net rpc vampire -S fb_nt -W FFTBL -UFilipe%***** Fetching DOMAIN database Creating account: Administrator Creating account: Guest [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_guest) Creating account: FB_NT$ [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main recor...
2007 Apr 10
0
Some errors importing accounts from NT4 PDC with net vampire
...on't see any problem on this users configuration in the NT4 server, here is part of the output: thanks. fb_nt2:/etc/samba# net rpc vampire -S fb_nt -W FFTBL -UFilipe%***** Fetching DOMAIN database Creating account: Administrator Creating account: Guest [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_guest) Creating account: FB_NT$ [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (U...
2006 Nov 13
4
Trouble Renaming Computer
...having trouble renaming computers in the domain. If i try this from the windows workstation (XP Professional) i get access denied. I use "root" or administrator which is mapped to root as the account. In the samba logs i get the following... [2006/11/09 13:07:00, 0] passdb/pdb_tdb.c:tdb_update_sam(640) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_mareed-pc$) [2006/11/09 13:07:17, 0] passdb/pdb_tdb.c:tdb_update_sam(640) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_mareed-pc$...
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 repeated for every user in the smbpasswd-file. The users do not yet exist in the tdbsam-database: pdbedit -L lists only two users each of which does not occur in the smb...
2017 Sep 18
3
Win10 cannot access linux shares
Hi, When I upgraded from Fedora 22 to Fedora 25 my Win10 box lost the ability to connect to shares on the F25 box. The F25 box can still access shares on the Win10 box. F25 is currently running Samba 4.5.13 and I have a simple workgroup setup. Let's call the Win10 box 'fred' and the F25 box 'ethel'. When fred tries to access a share on ethel, I am prompted for username and
2004 May 02
1
Unable to open TDB rid database!
Hi all, I use tdbsam backend. When I create a box for win2k machine: # pdbedit -a -m -u machine$ tdb_update_sam: SAM_ACCOUNT (machine$) with no RID! Unable to add machine! (does it already exist?) What is wrong? Other failer message: Unable to open TDB rid database! Regards, Roland
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 pdbedit -L | grep pesho returns nothing. I?m using two passwd backends: passdb backend = tdbsam:/etc/samba/passdb.tdb \ smbpasswd:...
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 pdbedit -L | grep pesho returns nothing. I?m using two passwd backends: passdb backend = tdbsam:/etc/samba/passdb.tdb \ smbpasswd:...
2005 Mar 19
0
PDC doesnt work on RHEL 4
...dated to rhel4 it stopped working... when visited the samba log file, there was this error : useradd: invalid user name 'wpvm01$' rpc_server/srv_samr_nt.c:_samr_create_user(2272) could not add user/computer wpvm01$ to passdb. Check permissions? [2005/03/17 07:42:27, 0] passdb/pdb_tdb.c:tdb_update_sam(609) tdb_update_sam: Failing to store a SAM_ACCOUNT for [wpvm01$] without a primary group RID [2005/03/17 07:42:27, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2272) could not add user/computer wpvm01$ to passdb. Check permissions? this happens when I try to add a windows 200 Client to the...
2005 Sep 07
1
error when adding a new user
Hi people, i having the following problem: useradd -s /bin/false -g users test smbpasswd -a test New SMB password: Retype new SMB password: tdb_update_sam: Failing to store a SAM_ACCOUNT for [test] without a primary group RID Failed to add entry for user test. Failed to modify password entry for user test The "users" group exists, grep users /etc/group users:x:100: Any ideas? I fix this adding a new group with the name of the username...
2008 Jan 30
1
Cannot add machine account
Hi, I'm running Samba as a PDC on a Debian Etch machine (3.0.24-6etch9). It's been some time (months, maybe 1 year) since I last added a new machine to the domain, but I'd need to do it today and I'm getting an error: #>pdbedit -a -m Woodstock-VMXP tdb_update_sam: struct samu (woodstock-vmxp$) with no RID! Unable to add machine! (does it already exist?) The machine does NOT already exist in the tdb Samba database, of course. And I already added it to the Linux system accounts as I always do. I have to say this is a new situation for me, because this is a...
2003 Jun 11
2
Root user problems with Samba 3.0.0beta1
...th the root user (like join the domain) or run 'net user' or 'net group' with root, when I enter the correct password, I get NT_STATUS_UNSUCCESSFUL .... I've been trying more commands, and if I run tdbedit -e=tdbsam (to export the smbpasswd to tdbsam style), I get this error : tdb_update_sam: Failing to store a SAM_ACCOUNT for [root] without a primary group RID What does it mean Root does not have a primary group RID? I suspect this may be the cause of the NT_STATUS_UNSUCCESSFUL messages. Any ideas? Thanks, -David van Geyn
2004 Dec 13
1
Samba PDC Server Local SID, Domain SID, and GROUP RID Question
...bout two months ago, I made the transition to a Debian linux box running Samba. The PDC is currently running Samba 3.0.8. My samba PDC is using the tdbsam backend and, for the most part is working flawlessly. However, when using smbpasswd to add samba accounts, I always get the following error: tdb_update_sam: Failing to store a SAM_ACCOUNT for [userid] without a primary group RID I have a temporary workaround. I setup my samba accounts using pdbedit and specifying a group RID for the new user: pdbedit -G S-1-5-21-1590455367-7305976-751859383-513 -a <username> Now, I've googled a lot on th...
2004 Aug 05
1
samba PDC problems
...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 hand I get this error message. [root@samba samba]# pdbedit -a -u test new password: retype new password: Unable to open/create TDB passwd tdb_update_sam: Unable to open TDB passwd (/etc/samba/secrets.tdb)! Unable to add user! (does it already exist?) I'm sure I just understand the process and none of the docs seem to explain it clearly. Any help you can give would be appreciated. Anyway here's my smb.conf: [global] netbios name = SAMB...
2004 Oct 06
3
Samba 3.0.7 & adding machines. Wrong primary group.
Hi! Some time ago (samba 3.0.1?) I added machines to my domain with 'srvmrg.exe' and all went as I expect. IIRC. If I am now adding machines, all machine-accounts have the initially group "users" set instead of "machines". But they should't. | add machine script = useradd -d /dev/null -g machines -s /bin/false %u This is, because even if adding machines to the
2014 Sep 04
1
problem with mechanism of samba user SID creation
...db.tdb file like on Production ... what mechanism changed that SID of my user? Also - if i would like to correct this discrepancy on my test server via pdbedit and make Samba SID and User SID same - it FAILs: [root at afdfake etc]# pdbedit -U S-1-5-21-3959513538-1809711307-1766237550-2262 lang tdb_update_sam: struct samu (lang) with no RID! Unable to modify entry! 3. Scenario: freshly installed Samba (again 3.6.9) on laptop: [root at orionis ~]# net getlocalsid SID for domain ORIONIS is: S-1-5-21-2647753566-3134634105-1426643513 [root at orionis ~]# pdbedit -Lv Unix username: lang NT usernam...
2003 Dec 17
0
Failing to store a SAM_ACCOUNT for [root] without a primary group RID
..., and run the script I found in the HTML docs to map common Windows Domain groups to unix groups. This worked OK. Now I want to create a root account so I can actually join the domain from a Windows 2000 client. When I run: /usr/local/samba/bin/smbpasswd -a root and enter the password I get: tdb_update_sam: Failing to store a SAM_ACCOUNT for [root] without a primary group RID I never used to get this under older ( 3.0+ ) versions. Something changed? Dan
2004 Aug 07
0
errors in syslog
Running Samba 3.0.5-0 (backports) and Debian 3.0. I keep seeing this in my syslog, and was wondering what it meant. I can't seem to find a solution using google. Aug 6 15:45:13 rivendell smbd[3209]: [2004/08/06 15:45:13, 0] \ passdb/pdb_tdb.c:tdb_update_sam(652) Aug 6 15:45:13 rivendell \ smbd[3209]: Unable to modify TDB passwd ! Error: Record does not exist Aug 6 15:45:13 rivendell smbd[3209]: occured while storing the RID index \ (RID_000001f5) I read somewhere on this list about running tdbbackup in all the samba directories with *.tdb files, aft...
2005 Nov 10
0
RID
I have my PDC up and running with the old (migrated PCs) I am trying to add a new PC (XP Pro) It doesn't seem to work from the XP Join Domain Dialogue I have added an account with adduser But [root@oxidepdc samba]# pdbedit -a -m -u AZURE tdb_update_sam: SAM_ACCOUNT (azure$) with no RID! Unable to add machine! (does it already exist?) [root@oxidepdc samba]# Any idea where I might be going wrong? :-( TIA Simon -- Simon Faulkner Dedicated Programmes 01538 303 900 07771 845 326
2006 Jan 22
0
RESOLVED: Can't Add Users to Passdb
...#39;ve added users >to passwd (useradd -m <user>). However, when I try to add smb >users, I get errors and failures to add the users. > > smbpasswd -a root (and supply the password in response to > the prompts) gets me the following error messages: > > tdb_update_sam: Failing to store a SAM_ACCOUNT for [root] > without a primary group RID > Failed to add entry for user root. > Failed to modify password entry for user root > >This happens whether I'm trying to add root or "ordinary" users. > >What have I screwe...