Sponsored Content
Full Discussion: Samba & sessionid.tdb
Top Forums UNIX for Dummies Questions & Answers Samba & sessionid.tdb Post 45218 by SRP on Tuesday 16th of December 2003 06:07:17 PM
Old 12-16-2003
Hello folks, I have found the solution and I thought it would be useful to post it just in case anyone else was having problems (sorry for the bump-up).

The sessionid.tdb file was actually in the /var/lock directory. I copied it to the samba installation directory which is /usr/local/samba/var/locks. After I did this the 'smbstatus' command executed without any error messages.

However, I could not use the 'smbclient -L servername' command because no accounts had been added to the smbpasswd file. Once I added my account everything seemed to work normally and I could access the UNIX shares from my Windows 2000 PC.

The only explanation I can think of for this is that the installation did not install some files (or at least a default smb.conf file) and placed others in the wrong directory; maybe its because I am using FreeBSD 5.1 which is not a stable production release.

Last edited by SRP; 12-16-2003 at 07:22 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Samba & Win98

At this point I am very frustrated, I have been reading man pages until my eyes bleed. I have set Samba up on a Suse. 7.0 Linux box. I have networked that box to my Win98 box. I have shared a directory. The linux box shows up in Win98 in Network Neighborhood. I can click... (3 Replies)
Discussion started by: Recon
3 Replies

2. Red Hat

SAMBA & Public Folder

Hello folks, I am trying to accomplish the following: 1. Create home folders for each user 2. Create a public folder where all users can access 3. Use Samba as a domain controller. I have successfully completed issue 1. But I can't get the second issue to work. Below is my config file.... (0 Replies)
Discussion started by: behradb
0 Replies

3. UNIX for Dummies Questions & Answers

Problem with xterm & tcsh & sourcing a script in a single command

Hi friends, I have a script that sets the env variable path based on different conditions. Now the new path variable setting should not done in the same terminal or same shell. Only a new terminal or new shell should have the new path env variable set. I am able to do this only as follows: >cd... (1 Reply)
Discussion started by: sowmya005
1 Replies

4. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies

5. Shell Programming and Scripting

replace & with & xml file

Hello All I have a xml file with many sets of records like this <mytag>mydata</mytag> <tag2>data&</tag2> also same file can be like this <mytag>mydata</mytag> <tag2>data&</tag2> <tag3>data2&amp;data3</tag3> Now i can grep & and replace with &amp; for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies

6. Shell Programming and Scripting

Replace & sign to &amp word

Hi, I have text file abc.txt. In this file, I have the following data. Input: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith & Mrs Smith Mr Smith& Mrs Smith Mr Smith &Mrs Smith Output: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith &amp Mrs Smith Mr Smith&amp... (4 Replies)
Discussion started by: naveed
4 Replies

7. Shell Programming and Scripting

Sort a the file & refine data column & row format

cat file1.txt field1 "user1": field2:"data-cde" field3:"data-pqr" field4:"data-mno" field1 "user1": field2:"data-dcb" field3:"data-mxz" field4:"data-zul" field1 "user2": field2:"data-cqz" field3:"data-xoq" field4:"data-pos" Now i need to have the date like below. i have just... (7 Replies)
Discussion started by: ckaramsetty
7 Replies

8. UNIX for Dummies Questions & Answers

Samba & Windows7

Hey there, I´m new to unix and unix.com, so thats my first question :) Does anybody know if theres a version of Samba which supports Windows7 without changing the LAN-Manager-Authentification to LM&NTLM-Answers? Hope someone has an answer... greets from Berlin :) (1 Reply)
Discussion started by: Spidi4u
1 Replies

9. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

10. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies
NDRDUMP(1)						    System Administration tools 						NDRDUMP(1)

NAME
ndrdump - DCE/RPC Packet Parser and Dumper SYNOPSIS
ndrdump [-c context] {pipe} {function} {in|out} {filename} ndrdump [pipe] ndrdump DESCRIPTION
ndrdump tries to parse the specified filename using Samba's parser for the specified pipe and function. The third argument should be either in or out, depending on whether the data should be parsed as a request or a reply. Running ndrdump without arguments will list the pipes for which parsers are available. Running ndrdump with one argument will list the functions that Samba can parse for the specified pipe. The primary function of ndrdump is debugging Samba's internal DCE/RPC parsing functions. The file being parsed is usually one exported by wiresharks "Export selected packet bytes" function. The context argument can be used to load context data from the request packet when parsing reply packets (such as array lengths). VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
wireshark, pidl AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. ndrdump was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ Samba 4.0 06/17/2014 NDRDUMP(1)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy