Hi, I installed Samba with Yast, which tells me that client and server files are installed. However it appears that it isn't: sonylin:/etc/samba # smbclient //linux/nick added interface ip=192.168.123.254 bcast=192.168.123.255 nmask=255.255.255.0 Got a positive name query response from 192.168.123.151 ( 192.168.123.151 ) tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory Password: session setup failed: NT_STATUS_LOGON_FAILURE What can I do about this? I'm looking through documentation but it's a bit confusing. Thanks in advance. Nick
Is the following dumb, incomplete or too vague? On Thursday 08 August 2002 22:01, Nick Selby wrote:
Hi, I installed Samba with Yast, which tells me that client and server files are installed. However it appears that it isn't:
sonylin:/etc/samba # smbclient //linux/nick added interface ip=192.168.123.254 bcast=192.168.123.255 nmask=255.255.255.0 Got a positive name query response from 192.168.123.151 ( 192.168.123.151 ) tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory Password: session setup failed: NT_STATUS_LOGON_FAILURE
What can I do about this? I'm looking through documentation but it's a bit confusing.
Thanks in advance. Nick
Hi Nick! On Thursday 08 August 2002 18:42, Nick Selby wrote:
Is the following dumb, incomplete or too vague?
It is to vague for me at least. But because You haven't gort any other help I will try.
On Thursday 08 August 2002 22:01, Nick Selby wrote:
Hi, I installed Samba with Yast, which tells me that client and server files are installed. However it appears that it isn't:
sonylin:/etc/samba # smbclient //linux/nick added interface ip=192.168.123.254 bcast=192.168.123.255 nmask=255.255.255.0 Got a positive name query response from 192.168.123.151 ( 192.168.123.151 ) tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory tdb((null)): tdb_open_ex: could not open file //var/lib/samba/unexpected.tdb: No such file or directory Password: session setup failed: NT_STATUS_LOGON_FAILURE
What can I do about this? I'm looking through documentation but it's a bit confusing.
Thanks in advance. Nick
I have never used Samba the way you ar trying. I have used to share directories on my Linux computers to Windows computers and to mount shared directories on windows computers on my Linux machines. If you want Windows computers to be able to use files on your Linux computer I recommend you to start swat, a configuration program for Sambaserver, use it to configere samba, start Samba and use it. Swat is already installed it is started from inetd, find the line in /etc/inetd.config and uncomment it. restart inetd. You can find instructions on how to restart it in the beginning of the config file. Then start a browser and direct it to http://localhost:901 If you want to look at a windows machine do a "mount -t smbfs //windosmacine/sharename /your/montpoint" I hope this can be of some help. Nils-Olov
* Nick Selby;
Hi, I installed Samba with Yast, which tells me that client and server files are installed. However it appears that it isn't: What can I do about this? I'm looking through documentation but it's a bit confusing.
Have you checked it should get you moving to some direction http://susefaq.sf.net/samba.html -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
On Thursday 08 August 2002 22.01, Nick Selby wrote:
session setup failed: NT_STATUS_LOGON_FAILURE
What can I do about this? I'm looking through documentation but it's a bit confusing.
Did you create samba users on the server? It's not enough to create normal unix users, you also need to add them to samba's own password file. You can do this through swat. Also note that if you don't use the -U parameter to smbclient, the default is to use the same username as you're logged in with at the moment, which in this case looks like root. //Anders -- `When I use a word,' Humpty Dumpty said in rather a scornful tone, `it means just what I choose it to mean -- neither more nor less.'
On Friday 09 August 2002 11:05, Anders Johansson wrote:
On Thursday 08 August 2002 22.01, Nick Selby wrote:
session setup failed: NT_STATUS_LOGON_FAILURE
What can I do about this? I'm looking through documentation but it's a bit confusing.
Did you create samba users on the server? It's not enough to create normal unix users, you also need to add them to samba's own password file. You can do this through swat.
The problem, I found, was in hosts allow. Doh.
Also note that if you don't use the -U parameter to smbclient, the default is to use the same username as you're logged in with at the moment, which in this case looks like root.
Ah. Thanks. One more question: I can now access the Linux machine from the windows machine, but I'd like to enter the windows drives (there are there physical drives on the windows box) into Fstab to be able to mount them from the linux machines. I couldn't see how to do this in man fstab - can anyone push me in the right direction? Thanks, Nick
//Anders
On Friday 09 August 2002 11.31, Nick Selby wrote:
Ah. Thanks. One more question: I can now access the Linux machine from the windows machine, but I'd like to enter the windows drives (there are there physical drives on the windows box) into Fstab to be able to mount them from the linux machines. I couldn't see how to do this in man fstab - can anyone push me in the right direction?
//server/share /mountpoint smbfs username=user,password=pass 0 0 you can add other options if you want different behaviour. The most common ones are "uid" and "gid" if you want the samba shared files and directories owned by a special user, the default is root. "fmask" and "dmask" if you want to specify permissions on directories and files. "man smbmount" lists all the options you can play with. "man mount" has the general options you can use, like "noauto" and "user". regards Anders -- `When I use a word,' Humpty Dumpty said in rather a scornful tone, `it means just what I choose it to mean -- neither more nor less.'
You rock, Anders! Thanks, nick On Friday 09 August 2002 11:41, Anders Johansson wrote:
On Friday 09 August 2002 11.31, Nick Selby wrote:
Ah. Thanks. One more question: I can now access the Linux machine from the windows machine, but I'd like to enter the windows drives (there are there physical drives on the windows box) into Fstab to be able to mount them from the linux machines. I couldn't see how to do this in man fstab - can anyone push me in the right direction?
//server/share /mountpoint smbfs username=user,password=pass 0 0
you can add other options if you want different behaviour. The most common ones are "uid" and "gid" if you want the samba shared files and directories owned by a special user, the default is root. "fmask" and "dmask" if you want to specify permissions on directories and files. "man smbmount" lists all the options you can play with. "man mount" has the general options you can use, like "noauto" and "user".
regards Anders
Alle 11:41, venerdì 9 agosto 2002, Anders Johansson ha scritto:
On Friday 09 August 2002 11.31, Nick Selby wrote:
Ah. Thanks. One more question: I can now access the Linux machine from the windows machine, but I'd like to enter the windows drives (there are there physical drives on the windows box) into Fstab to be able to mount them from the linux machines. I couldn't see how to do this in man fstab - can anyone push me in the right direction?
//server/share /mountpoint smbfs username=user,password=pass 0 0
you can add other options if you want different behaviour. The most common ones are "uid" and "gid" if you want the samba shared files and directories owned by a special user, the default is root. "fmask" and "dmask" if you want to specify permissions on directories and files. "man smbmount" lists all the options you can play with. "man mount" has the general options you can use, like "noauto" and "user".
I would suggest the use of LinNeighborhood to mount windows shares to the linux machine, without being root (but you will have to setuid root the smbmnt program) and without modyfing fstab and without exposing the password to a world readable file. Praise
On 08/24/02 00:13:34, Praise
Alle 11:41, venerdì 9 agosto 2002, Anders Johansson ha scritto:
On Friday 09 August 2002 11.31, Nick Selby wrote:
Ah. Thanks. One more question: I can now access the Linux machine from the windows machine, but I'd like to enter the windows drives (there are there physical drives on the windows box) into Fstab to be able to mount them from the linux machines. I couldn't see how to do this in man fstab - can anyone push me in the right direction?
//server/share /mountpoint smbfs username=user,password=pass 0 0
you can add other options if you want different behaviour. The most common ones are "uid" and "gid" if you want the samba shared files and directories owned by a special user, the default is root. "fmask" and "dmask" if you want to specify permissions on directories and files. "man smbmount" lists all the options you can play with. "man mount" has the general options you can use, like "noauto" and "user".
I would suggest the use of LinNeighborhood to mount windows shares to the linux machine, without being root (but you will have to setuid root the smbmnt program) and without modyfing fstab and without exposing the password to a world readable file. You can leave the password option out and when you mount the drive you will be prompted for the password.
--rickey
Praise
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (6)
-
Anders Johansson
-
Nick Selby
-
Nils-Olov Fransson
-
Praise
-
Rickey Ingrassia
-
Togan Muftuoglu