search for: pdb_getsampwnam

Displaying 20 results from an estimated 120 matches for "pdb_getsampwnam".

2012 Mar 02
0
server signing = mandatory aix 6.1 (abridged debug)
..._values_internal) -- [2012/02/15 13:33:50.485736, 8] registry/reg_backend_db.c:1567(regdb_unpack_values) specific: [ErrorControl], len: 4 [2012/02/15 13:33:50.485811, 10] registry/reg_cachehook.c:97(reghook_cache_add) -- [2012/02/15 13:33:50.493576, 5] passdb/pdb_tdb.c:557(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root -- [2012/02/15 13:34:30.105739, 5] passdb/pdb_tdb.c:557(tdbsam_getsampwnam) pdb_getsampwnam (TDB): error fetching database. Key: USER_root -- [2012/02/15 13:34:30.107403, 5] passdb/pdb_tdb.c:557(tdbsam_getsampwnam) pdb_getsampwnam (TDB): er...
2007 Mar 13
0
pdb_getsampwnam (TDB): error fetching database.
Hi. I've samba 3.0.24-2 installed on my Debian etch linux. It works perfectly, but when I try to add a new user, I get a "pdb_getsampwnam (TDB): error fetching database." error. The dump: informatica:/# smbpasswd -D 10 -a usuario Netbios name list:- my_netbios_names[0]="INFORMATICA" Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend...
2002 Dec 01
1
WinXP problems accessing Samba shares
...smbd/reply.c:reply_sesssetup_and_X(868) sesssetupX:name=[jimsiff] [2002/11/30 19:32:01, 6] param/loadparm.c:lp_file_list_changed(2297) lp_file_list_changed() file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sat Nov 46:25 2002 [2002/11/30 19:32:01, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1346) pdb_getsampwnam: search by name: jimsiff [2002/11/30 19:32:01, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167) startsmbfilepwent_internal: opening file /etc/samba/smbpasswd [2002/11/30 19:32:01, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(438) getsmbfilepwent: returning passwd entry for...
2015 Dec 02
1
"Failed to add users for testing" - pdb_getsampwnam (TDB): error fetching database
...tdbsam.so Module 'tdbsam' loaded Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Found pdb backend tdbsam pdb backend tdbsam has a valid init new password: retype new password: tdbsam_open: successfully opened /var/lib/samba/private/passdb.tdb pdb_getsampwnam (TDB): error fetching database. Key: USER_testing Finding user testing Trying _Get_Pwnam(), username as lowercase is testing Trying _Get_Pwnam(), username as uppercase is TESTING Checking combinations of 0 uppercase letters in testing Get_Pwnam_internals didn't find user [testing]! Could...
2002 Aug 20
1
pam_smbpass
...rn user_unknown as i expect for users who are not in the ldap database does this make sense? --- pam_smb_passwd.c 12 Feb 2002 15:56:19 -0000 1.1.2.8 +++ pam_smb_passwd.c 20 Aug 2002 23:41:57 -0000 @@ -126,9 +126,9 @@ /* obtain user record */ pdb_init_sam(&sampass); - pdb_getsampwnam(sampass,user); + /*pdb_getsampwnam(sampass,user);*/ - if (sampass == NULL) { + if (!pdb_getsampwnam(sampass,user)) { _log_err( LOG_ALERT, "Failed to find entry for user %s.", user ); return PAM_USER_UNKNOWN; } I don't think there should be any differe...
2002 Jun 28
0
troubles with PDC
...pears that however I can see the samba server in the network, I cannot access it, in no way... The server should synchronize passwords with the PDC (stromboli) (which can be pinged) but it will not... Here's a snippet from the log messages I get: [2002/06/23 09:16:51, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/06/23 09:16:54, 0] smbd/password.c:domain_client_validate(1549) domain_client_validate: could not fetch trust account password for domain ACTU ERA.NL [2002/06/23 09:16:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb databas...
2002 Oct 18
0
winbind wbinfo -t secret is bad
...onnect_to_domain_password_server: unable to setup the PDC credentials to machine xxxxxxPDC. Error was : NT_STATUS_OK. [2002/10/18 13:37:54, 0] smbd/password.c:domain_client_validate(1585) domain_client_validate: Domain password server not available. [2002/10/18 13:37:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/10/18 13:37:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/10/18 13:37:54, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. Copy of workstation log: [2002/10/18 15:09:12, 0]...
2002 May 06
2
Users can't map drives after upgrade
...ening. When users try to map a drive, it asks for the username/password even though we're using server authenticaiton. There are lots of messages in the log.<machine name> files complaining about not being able to open the passwd database [2002/05/06 09:52:47, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/05/06 09:52:47, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. As far as I can tell from perusing the source, this is if you are using the smbpasswd files which we are not. We are using server authentication via a l...
2003 Nov 05
2
unable to open passdb database
...on) > what passbackend do you use i e. /etc/samba/smbpasswd etc ? > check your settings in smb.conf In fact, this is the log at debug level 10 : [2003/11/05 16:29:58, 1] smbd/password.c:server_validate(1101) password server is not connected [2003/11/05 16:29:58, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1346) pdb_getsampwnam: search by name: testuser [2003/11/05 16:29:58, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167) startsmbfilepwent_internal: opening file /etc/samba/smbpasswd [2003/11/05 16:29:58, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) startsmbfilepwent_internal: unable to op...
2001 Nov 08
8
Please help with winbind setup
I have been (unsuccessfully) trying to get this up and running for the past few days. I have successfully setup samba itself NUMEROUS times but this winbind stuff has me stumped. I have built a fresh box for this server using Turbo Linux server 6.5 and samba 2.2.2. I have followed all the docs and man pages that i could find. 1. I have samba compiled (using --with-winbind --with-pam) and
2002 Aug 29
1
Why is this failing???
...D5 password fails (why?) but the Lanman password works for the current user. I want to join to the Samba domain. Why isn't this working? [2002/08/29 19:56:33, 2] smbd/reply.c:reply_sesssetup_and_X(982) Defaulting to Lanman password for root [2002/08/29 19:56:33, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344) pdb_getsampwnam: search by name: root [2002/08/29 19:56:33, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(435) getsmbfilepwent: returning passwd entry for user root, uid 0 [2002/08/29 19:56:33, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256) endsmbfilepwent_internal: closed password file. [2...
2003 Oct 18
1
'passwd chat' for Debian Woody password sync
...rror_handler: PAM: Password Change Failed : Conversation error [2003/10/18 11:01:56, 0] passdb/pampass.c:smb_pam_passchange(865) smb_pam_passchange: PAM: Password Change Failed for user p! this is a log WITHOUT 'pam password change = yes': [2003/10/18 11:08:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344) pdb_getsampwnam: search by name: p [2003/10/18 11:08:40, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167) startsmbfilepwent_internal: opening file /etc/samba/smbpasswd [2003/10/18 11:08:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(436) getsmbfilepwent: returning passwd entry for user ro...
2002 Sep 18
0
Please assist in examination my samba log
...file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf last mod_time: Wed Sep 18 18:35:18 2002 [2002/09/18 18:45:40, 0] smbd/password.c:domain_client_validate(1549) domain_client_validate: could not fetch trust account password for domain HM [2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344) pdb_getsampwnam: search by name: root [2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167) startsmbfilepwent_internal: opening file /usr/local/private/smbpasswd [2002/09/18 18:45:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(436) getsmbfilepwent: returning passwd entr...
2003 Jan 27
2
Win2k DC no longer authenticates for Samba shares
I have a win2k domain ... 2 of the client machines are Red Hat (7.3 and 8.0). I set everything up to use the DC to authenticate ID/PW. Everything worked perfectly until a week or so ago ... Samba would automatically create a home folder and the whole nine yards. Now I can see the shares on the Samba machines, but I can't access them ... just prompts for the ID/PW over and over. I can mount
2002 Jun 27
1
Patch for 2.2.5 (start_tls with OpenLDAP 2.0.x) is not working ...
...b_getsampwent': passdb/pdb_ldap.o(.text+0x1970): multiple definition of `pdb_getsampwent' passdb/pdb_tdb.o(.text+0xed0): first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `pdb_getsampwent' changed f rom 544 to 99 in passdb/pdb_ldap.o passdb/pdb_ldap.o: In function `pdb_getsampwnam': passdb/pdb_ldap.o(.text+0x19e0): multiple definition of `pdb_getsampwnam' passdb/pdb_tdb.o(.text+0x10f0): first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `pdb_getsampwnam' changed f rom 619 to 406 in passdb/pdb_ldap.o passdb/pdb_ldap.o: In function `pdb_getsamp...
2002 Sep 30
4
problem with Samba in domain
...ord_server: unable to setup the PDC credentials to machine ADLER.INFORMATIK.TU-FREIBERG.DE. Error was : NT_STATUS_OK. [2002/09/26 18:53:28, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: Domain password server not available. [2002/09/26 18:53:28, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/09/26 18:53:28, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. I don't know what to make of this -- does someone have any suggestion on what went wrong? I am rather green on this. Things that may be notable to ou...
2002 Dec 20
1
Add Workstation to Domain - valid local system user?
Hi! I'm running Samba 2.2.7a as Domain Controller, and when I try to add a workstation to the domain, I get always the following logentry (and the operation fails): [2002/12/20 14:30:21, 0] passdb/pdb_ldap.c:pdb_getsampwnam(859) LDAP search "(&(uid=vmware-w2ks_)(objectclass=sambaAccount))" returned 0 entries. [2002/12/20 14:30:22, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(1929) User vmware-w2ks$ does not exist in system password file (usually /etc/passwd). Cannot add account without a va...
2002 May 24
1
add user script w/ idealx perl script (ldap)
...tomaticly to the domain. add user script = /usr/local/sbin/smbldap-useradd.pl -w %u This script is working fine when i run it in command line. But when it's executed by samba when trying to join the domain, it fails in a weird way. Here is the log : [2002/05/16 14:34:34, 0] passdb/pdb_ldap.c:pdb_getsampwnam(777) LDAP search "(&(uid=yannick-2k_)(objectclass=sambaAccount))" returned 0 entries. [2002/05/16 14:34:34, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176) get_md4pw: Workstation yannick-2k$: no account in domain [2002/05/16 14:45:48, 0] passdb/pdb_ldap.c:pdb_getsampwnam(777) LDAP...
2003 Nov 26
1
NT account locking out
..._validate(1227) password server rejected the password [2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpa sswd. Error was No such file or directory [2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368) unable to open passdb database. [2003/11/26 11:29:03, 1] smbd/password.c:pass_check_smb(546) Couldn't find user 'ecollprd' in passdb. [2003/11/26 11:29:03, 2] smbd/reply.c:reply_sesssetup_and_X(970) NT Password did not match for user 'ecollprd'! [2003/11/26 11:29:03,...
2002 Nov 02
1
Unable to open passdb???
Hello, Getting this error: [2002/11/02 12:55:16, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2002/11/02 12:55:16, 0] smbd/chgpasswd.c:check_oem_password(761) check_oem_password: getsmbpwnam returned NULL [2002/11/02 12:55:16, 0] passdb/passdb.c:pdb_free_sam(210) pdb_free_sam: SAM_ACCOUNT was NULL[2002/11/02 12:55:16, 0] passdb/pdb_smbpasswd.c:pd...