Re: [Samba] installing Samba as non-root user at work - please help.

2007-09-24 Thread [EMAIL PROTECTED]
Hi,

On 9/22/07, Wolfgang Ratzka [EMAIL PROTECTED] wrote:

 Hi,

  Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I
 cannot
  use a port below 1024 without having root access.  Similarly, I attempt
 to
  use higher port when I start nmdb.

 Even if this would work, you would be stuck with the problem  of
 convincing your windows system to talk to these ports.


Lets assume I can get the windows system to specify the non-standard port
number (perhaps using the common colon : notation).  The facility is there
in samba to use non-standard ports, so I have to imagine that someone has
installed and run samba successfully as non-root and with non-standard
ports.  I guess I'm not willing to give up so easily.

I suppose the first step is to correct those errors I was getting when
running smdb and nmdb.  Does anyone have any suggestions to resolve those?
If I can at least get those to run with the non-standard ports, then I think
I'd have a good chance of mapping the drive in Windows.

 Given the information I've provided, and knowing that I do not have root
  access, can anyone provide any information to at least steer me in the
 right
  direction?  I greatly appreciate your help.

 Without root access you can pretty much give up on installing samba. If
 your linux box allows ssh access, you might want to try something like
 winscp to transfer your files from and to windows.


I've used such tools, but it's no substitute for directly mapping my home
directory as a windows drive.

Thank you,
Ben
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] installing Samba as non-root user at work - please help.

2007-09-22 Thread Wolfgang Ratzka
Hi,

 Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I cannot
 use a port below 1024 without having root access.  Similarly, I attempt to
 use higher port when I start nmdb.

Even if this would work, you would be stuck with the problem  of
convincing your windows system to talk to these ports.

 Given the information I've provided, and knowing that I do not have root
 access, can anyone provide any information to at least steer me in the right
 direction?  I greatly appreciate your help.

Without root access you can pretty much give up on installing samba. If
your linux box allows ssh access, you might want to try something like
winscp to transfer your files from and to windows.

Regards,
Wolfgang Ratzka

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] installing Samba as non-root user at work - please help.

2007-09-21 Thread [EMAIL PROTECTED]
Hi,

I've recently started at a new company that doesn't have a system in place
to map my Linux home directory within Windows.  I have my own Linux box (a
recent Redhat install), and my own Windows XP PC.  I will get no help from a
system admin here, so my only option is to try installing Samba myself on my
Linux box.  To my surprise, I've found little or no information on
installing Samba as a non-root user.

All I wish to achieve is being able to map my Linux home directory on my
Windows PC.

We are on a Windows domain called ENGINEERING.  It's on 
engineering.company.com (where company is my real company's name).  I have
a username, lets say userpc, and a password, passpc, on my PC.  My linux
machine is also part of the engineering.company.com network, but I use a
different username, userlinux, and password, passlinux.

I had no problems doing a local Samba install by changing the 'prefix'
during configure and install.  It's at that point that I am lost what to do.

I have started by editing the smb.conf file, and allow host access only by
the ip address of my windows box.  I also attempt to use a username map
file, since I'm using different usernames on my Windows PC and my Linux
box.  It's not entirely clear to me what to do with regards to the
workgroup/domain.  In some ways it'd be nice if I can just implement SMB
over TCP/IP and not worry about NT-Domains or Workgroups.

Afterall, all I am trying to accomplish is to map my Linux home directory to
only one other computer, my Windows PC, on the same network.  It'd be nice
if I could just kick off an smb server on my Linux box, and have my windows
box map the home directory by specifying the ip address of the linux box and
correct port.  But perhaps such a setup, even for my simple scenario, is not
possible with Samba.

Speaking of ports, I specify ports of 1445 and 1139 for smdb, since I cannot
use a port below 1024 without having root access.  Similarly, I attempt to
use higher port when I start nmdb.

I try to start both the smdb and nmdb daemons, but even that doesn't appear
to work correctly, as it appears that a non-root, local install is not truly
supported.  At least not with more tinkering.

From my log.smbd:

[2007/09/19 17:00:16, 0] smbd/server.c:main(944)
  smbd version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/09/19 17:00:16, 0] lib/debug.c:reopen_logs(625)
  Unable to open new log file /usr/local/samba/var/log.smbd: No such file or
directory
[2007/09/19 17:00:16, 0] lib/debug.c:reopen_logs(625)
  Unable to open new log file /usr/local/samba/var/log.smbd: No such file or
directory
[2007/09/19 17:00:16, 1] smbd/files.c:file_init(193)
  file_init: Information only: requested 1 open files, 1004 are
available.
[2007/09/19 17:00:16, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/09/19 17:00:16, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

From my log.nmbd:

[2007/09/19 16:44:02, 0] nmbd/nmbd.c:main(697)
  Netbios nameserver version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/09/19 16:44:02, 0] lib/util_sock.c:set_socket_options(261)
  Failed to set socket option SO_BROADCAST (Error Bad file descriptor)
[2007/09/19 16:44:02, 0] nmbd/nmbd_subnetdb.c:make_subnet(107)
nmbd_subnetdb:make_subnet()
  Failed to open dgram socket on interface 10.30.102.110 for port 138.
Error was Permission denied
[2007/09/19 16:44:02, 0] nmbd/nmbd.c:main(771)
  ERROR: Failed when creating subnet lists. Exiting.


And even once I get these daemons up and running on my Linux box, it's not
clear to me what I need to do on the Windows side to establish a
connection.  What port would I use, since I am not using the standard ports?

Given the information I've provided, and knowing that I do not have root
access, can anyone provide any information to at least steer me in the right
direction?  I greatly appreciate your help.

Thank you,
Ben
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba