This is a discussion on [Samba] smbclient: tdb_fetch_uint32 failed within the Samba forums, part of the Networking and Network Related category; hi all, I'm facing a problem with a brand new installation on fedora 9. packages were updated right after ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi all,
I'm facing a problem with a brand new installation on fedora 9. packages were updated right after the installation, so the samba packages are of the latest available version (3.2.0-17.fc9). at the first run were created all the tree of tdb files under /var/lib/samba. now I create a new user: [root@barbara Scrivania]# smbpasswd -a barbara New SMB password: Retype new SMB password: Added user barbara. looks like the user was created, but in the log I can see a bunch of lines like this: lib/account_pol.c: account_policy_get(324) account_policy_get: tdb_fetch_uint32 failed for field $n.... ....where $n is a number between 1 and 10, so basically I get ten of those lines. every attempt to change user's password ends with this: [barbara@barbara ~]$ smbpasswd Old SMB password: New SMB password: Retype new SMB password: cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received from remote machine 127.0.0.1 pipe \samr fnum 0x7672! machine 127.0.0.1 rejected the password change: Error was : NT code 0x1c010002. Failed to change password for barbara also, if I try to connect to the server from the same machine this is what I get: [barbara@barbara ~]$ smbclient \\\\barbara\\Ufficio -U barbara Enter barbara's password: Domain=[BARBARA] OS=[Unix] Server=[Samba 3.2.0-17.fc9] tree connect failed: NT_STATUS_BAD_NETWORK_NAME it would look like the requested share is non-existent, but unfortunately it isn't so: [barbara@barbara ~]$ smbclient -L barbara Enter barbara's password: Domain=[BARBARA] OS=[Unix] Server=[Samba 3.2.0-17.fc9] Sharename Type Comment --------- ---- ------- Ufficio Disk Ufficio IPC$ IPC IPC Service (Samba Server Version 3.2.0-17.fc9) SCX-4x16_Series Printer Samsung SCX-4x16 Series Domain=[BARBARA] OS=[Unix] Server=[Samba 3.2.0-17.fc9] Server Comment --------- ------- Workgroup Master --------- ------- GRECOELEVATORI BARBARA and indeed the shared directory exists: [barbara@barbara ~]$ ls -l /home/barbara/Documenti totale 4 drwxr-xr-x 28 barbara barbara 4096 1 ago 10:19 Ufficio in the same lan there is also a win98 client, and neither it is able to access to the public share. using "map to guest = Bad User" I'm able at least to access the printer but not the share. here is my smb.conf stripped from commented and empty lines: [global] workgroup = grecoelevatori server string = Samba Server Version %v lanman auth = yes client lanman auth = yes ntlm auth = no client ntlmv2 auth = no map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = tdbsam load printers = yes cups options = raw [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = no printable = yes [Ufficio] comment = Ufficio path = /home/barbara/Documenti/Ufficio public = yes writable = yes printable = no browseable = yes and here is what I see in the log when trying to access the public share, either from localhost and from the win98 client: [2008/08/20 15:56:44, 0] smbd/service.c:make_connection_snum(1152) '/home/barbara/Documenti/Ufficio' does not exist or permission denied when connecting to [Ufficio] Error was Permission denied bug in the fedora package? in this version of samba? in me :)? again, this does happens on an installation from scratch, do not really know if all is fine when there are a previous installation and an existing /var/lib/samba. thanks in advance, and sorry for my english. -- Massimo Maiurana massimo<at>ragusa.linux.it http://massimo.solira.org GPG keyID #7044D601 Articolo 33 - [...]Enti e privati hanno il diritto di istituire scuole ed istituti di educazione, senza oneri per lo Stato.[...] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |
|
|||
|
Massimo Maiurana, il 22/08/2008 18:59, scrisse:
> bug in the fedora package? in this version of samba? in me :)? > some more console output from today's session: [root@barbara samba]# pdbedit -Lv --------------- Unix username: barbara NT username: Account Flags: [U ] User SID: S-1-5-21-4006416855-825432111-2697360864-2000 Primary Group SID: S-1-5-21-4006416855-825432111-2697360864-513 Full Name: Barbara Home Directory: \\barbara\barbara HomeDir Drive: Logon Script: Profile Path: \\barbara\barbara\profile Domain: BARBARA Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: never Kickoff time: never Password last set: gio, 21 ago 2008 09:40:36 CEST Password can change: gio, 21 ago 2008 09:40:36 CEST Password must change: never Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [root@barbara samba]# chmod g+w,g+s,o+w /home/barbara/Documenti -R [root@barbara samba]# smbclient //barbara/ufficio -U barbara Enter barbara's password: session setup failed: NT_STATUS_LOGON_FAILURE [root@barbara samba]# smbclient //barbara/ufficio Enter barbara's password: Anonymous login successful Domain=[GRECOELEVATORI] OS=[Unix] Server=[Samba 3.2.0-17.fc9] tree connect failed: NT_STATUS_BAD_NETWORK_NAME [root@barbara samba]# ls -l /var/lib/samba totale 424 -rw------- 1 root root 16384 20 ago 14:12 account_policy.tdb -rw-r--r-- 1 root root 40200 25 ago 11:04 brlock.tdb -rw-r--r-- 1 root root 170 25 ago 11:10 browse.dat -rw-r--r-- 1 root root 90112 25 ago 11:23 connections.tdb -rw-r--r-- 1 root root 8192 25 ago 11:22 gencache.tdb -rw-rw-rw- 1 root root 77824 20 ago 14:10 group_mapping.ldb -rw-r--r-- 1 root root 40200 25 ago 11:04 locking.tdb -rw------- 1 root root 696 25 ago 11:04 messages.tdb -rw-r--r-- 1 root root 696 25 ago 11:23 notify.tdb -rw------- 1 root root 8192 20 ago 14:10 ntdrivers.tdb -rw------- 1 root root 696 20 ago 14:10 ntforms.tdb -rw------- 1 root root 20480 25 ago 11:04 ntprinters.tdb drwxr-xr-x 2 root root 4096 18 ago 15:37 perfmon drwxr-xr-x 2 root root 4096 20 ago 15:52 printing drwx------ 2 root root 4096 20 ago 15:48 private -rw------- 1 root root 36864 25 ago 11:04 registry.tdb drwxr-xr-x 2 root root 4096 1 lug 18:25 scripts -rw-r--r-- 1 root root 696 25 ago 11:04 sessionid.tdb -rw------- 1 root root 16384 20 ago 14:13 share_info.tdb -rw-r--r-- 1 root root 28672 21 ago 09:57 unexpected.tdb drwxr-x--- 2 root wbpriv 4096 1 lug 18:25 winbindd_privileged any idea? -- Massimo Maiurana massimo<at>ragusa.linux.it http://massimo.solira.org GPG keyID #7044D601 Articolo 33 - [...]Enti e privati hanno il diritto di istituire scuole ed istituti di educazione, senza oneri per lo Stato.[...] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |