Out of Office Response: samba digest, Vol 1 #25 - 15 msgs

William_E._Dent/NBK/ULI%ULI at us.ul.com William_E._Dent/NBK/ULI%ULI at us.ul.com
Sun Sep 3 19:06:13 GMT 2000


William E. Dent will be away from Wednesday August 30, 2000 to Tuesday
September 5, 2000.  Mail is being forwarded to wedent at home.com.



Original Message Text follows:
----------------------------------------------------------



Send samba mailing list submissions to
     samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
     http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
     samba-request at lists.samba.org

You can reach the person managing the list at
     samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

  1. NT Domain Login test (Joe Sanguinetti)
  2. Re: NT Domain Login test (Gerald Carter)
  3. Re: smbd problems (Peter Samuelson)
  4. SID's and "appliance mode" on the NT domain. (efni CONNECT
Administration)
  5. Re: configure error (Peter Samuelson)
  6. Re: Installing Samba (Peter Samuelson)
  7. Re: character handling problem (Peter Samuelson)
  8. Red Hat 6.2 Samba 2.0.6 Help... (Tom Corr)
  9. Re: smbd daemon not starting up (Peter Samuelson)
  10. Red Hat 6.2 and Samba 2.0.6 (Tom Corr)
  11. Re: Samba Port (Peter Samuelson)
  12. username longer then 8 car. in win98SE (lebeau  christophe)
  13. user name longer then 8 c.in win98se (lebeau  christophe)
  14. configure fails (=?iso-8859-1?Q?K=F6vesdi=20Gy=F6rgy?=)
  15. Mounting Solaris 2.6 Samba share on Solaris 2.6 Client (Colin
DuPlantis)

--__--__--

Message: 1
From: "Joe Sanguinetti" <SanGUI at mn.mediaone.net>
To: <samba at us4.samba.org>
Subject: NT Domain Login test
Date: Sat, 2 Sep 2000 14:43:20 -0500
charset="iso-8859-1"

I read referenc to the rpcclient in a samba book that can performa NT
Domain
login test.  Is this available or is there another way that I can use this
test in a script?  I want to have a user enter a username and password and
then check to make sure that is a valid username and paaword on the NT
Domain.  ANy suggestions.  I will be doing it from a tcl script.

Joe



--__--__--

Message: 2
Date: Sat, 02 Sep 2000 15:38:28 -0500
From: Gerald Carter <gcarter at valinux.com>
Organization: VA Linux Systems
To: Joe Sanguinetti <SanGUI at mn.mediaone.net>
Cc: samba at us4.samba.org
Subject: Re: NT Domain Login test

Joe Sanguinetti wrote:
>
> I read referenc to the rpcclient in a samba book that
> can performa NT Domain login test.  Is this available
> or is there another way that I can use this test in a
> script?  I want to have a user enter a username and
> password and then check to make sure that is a valid
> username and paaword on the NT Domain.  ANy suggestions.
> I will be doing it from a tcl script.

The version of rpcclient is the SAMBA_TNG development branch
does support this.  The version released (and the improved
version to be released with 2.2.0) does not.  Eventually
the release version will have all the capabilities of the
TNG version.





Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )


--__--__--

Message: 3
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 15:39:03 -0500 (CDT)
To: olaf.c at topmail.de
Cc: samba at us4.samba.org
Subject: Re: smbd problems


[olaf.c at topmail.de <olaf.c at topmail.de>]
> [2000/08/30 14:30:04, 0] locking/shmem_sysv.c:sysv_shm_open(566)
>   Can't create or use semaphore [1]. Error was Function not implemented
> [2000/08/30 14:30:04, 0] locking/locking.c:locking_init(174)
>   ERROR: Failed to initialise share modes

It would seem that you have a Linux kernel compiled without SysV IPC
support.  Samba (as well as many other applications) requires this
support, so you need to compile it in.  It's in the "General Setup"
menu of your kernel configuration.

Peter


--__--__--

Message: 4
Date: Sat, 2 Sep 2000 16:40:17 -0400 (EDT)
From: efni CONNECT Administration <admin at efni.com>
To: samba at us4.samba.org
Subject: SID's and "appliance mode" on the NT domain.

Hey Samba users,

 Sorry if someone else has posted about this before, but I checked the
archives and didn't see anything regarding it, but I may have over looked
it..

 I was wondering if any development has been made to the "appliance mode"
in relation to the use of SID's on the NT domain or if someone could
direct me to the right place to more information concerning it.

 I was attempting to setup a data server with Samba to replace one of our
current NT data servers for hosting shares for user applications, but need
a way for them to be validated by their SID as aposed to asking them for a
password validation.

 Any information you can pass on would be most greatly appreciated.

 Thanks,

Joshua Hirsh
efni CONNECT
UNIX Systems Administration
admin at efni.com
Tel: (705) 474-3364 ext. 2557
Fax: (705) 472-9202

--===--===--===--===--===--==--===--===--===--===--===--
        efni CONNECT UNIX Systems Administration
  ===--===--===          --==--          ===--===--===
   admin at efni.com                 http://www.efni.com
  North Bay, Ontario            705-474-3364 ext. 2557
--===--===--===--===--===--==--===--===--===--===--===--

        PGP KEY: http://users.efni.com/admin/pgp/




--__--__--

Message: 5
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 15:58:42 -0500 (CDT)
To: "Meredith, Daniel" <Daniel.Meredith.01 at MCKENNA.EDU>
Cc: "samba at lists.samba.org" <samba at us4.samba.org>
Subject: Re: configure error


Hey, wait!  Are you at Mudd or CMC?  Make up your mind. (:

[Daniel Meredith <Daniel.Meredith.01 at MCKENNA.EDU>]
> checking configure summary
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config

I seem to remember that on some operating systems you must be root when
configuring Samba (or it would give this error).  I didn't think Linux
was one of them but try it just in case.

Peter


--__--__--

Message: 6
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 16:07:37 -0500 (CDT)
To: "Ralph" <nosneb at tpg.com.au>
Cc: <samba at us4.samba.org>
Subject: Re: Installing Samba


[Ralph <nosneb at tpg.com.au>]
> How do you go about installing Samba from the newly downloaded
> .tar.gz file up to being able to use the product?

You read the docs, or you buy a book, or you get someone to help, or
you buy a support contract from a consulting firm.  And any stage along
the way, when you have *specific* questions that aren't covered by the
documentation on hand, you ask this list.

Peter


--__--__--

Message: 7
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 16:23:42 -0500 (CDT)
To: "Simek, Pavel" <simek at gedas.cz>
Cc: <samba at samba.org>
Subject: Re: character handling problem


[Pavel Simek <simek at gedas.cz>]
> I am successfully running samba 2.0.7 on SUN Enterprise SERVER
> 250. We are using CATIA and there is one special character in catia
> model filenames.  The character is ? (this is plus over minus as one
> character, 0177 in windows environment).

OK, first question: why do you need CATIA models in Windows?  Version 4=

only runs on Unix and mainframes.  If you are using Version 5, you
can't open files with the =B1 character anyway (this character actually=

represents a space; most likely this dates from OSes that can't put
spaces in names).  Note that CATIA also converts the / character to
something else since those are illegal in Unix.

There is an option I ran across some time ago ...

searching ...
searching ...
searching ...

Ah.  There it is.  Read the file

  {catia dir}/cfg/dec/catia/ADMENV.dcls

It has various options for filename formats.  In particular, you might
have some luck with one or more of the following:

  catia.CHARACTER_RANGE_FOR_MEMBER_NAME =3D 'NT_COMPATIBILITY' ;
  catia.BLANK_IN_MEMBER_NAME =3D 'BLANK_FOR_BLANK' ;
  catia.SLASH_IN_MEMBER_NAME =3D 'SLASH_FORBIDDEN' ;

Note that you should *not* change these in ADMENV.dcls but rather add
these lines to your USRENV.dcls or (preferably) a site-wide .dcls file.=

Ask your CATIA administrator for details.

Peter


--__--__--

Message: 8
Date: Sat, 02 Sep 2000 18:15:55 -0400
From: Tom Corr <tomcorr at sprintmail.com>
Reply-To: tomcorr at sprintmail.com
To: samba at samba.org
Subject: Red Hat 6.2 Samba 2.0.6 Help...

I'm running Red Hat 6.2 with Samba 2.0.6.  I am of course starting to
experience difficulty.  I am running a simple network, consisting of a
single Win98 PC that is connected via a hub to my Linux server.   The
two computers can communicate just fine, ie ping works, telnet, and
Exceeds X-Server work without a problem.  However my Samba does not
work.

Here are the symptoms.   At this point I would like to mention that you
may disregard the Win 98 PC at this point.

On the Linux server I run the following command:

smbclient -L alpha (my server name)

alpha:/home/tcorr$ smbclient -L alpha
added interface ip=192.168.100.1 bcast=192.168.100.255
nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password
pair in a Tree Connect or Session Setup are invalid.)


I've read that I can use a -U option, so I've entered:

smbclient -L alpha -U tcorr%password
and I connect just fine, ie my list of shares come up as specified, just
as in the list below...

I can also do the following, where I enter the password at the prompt:
alpha:/home/tcorr$ smbclient -L alpha -U tcorr
added interface ip=192.168.100.1 bcast=192.168.100.255
nmask=255.255.255.0
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.6]

        Sharename      Type      Comment
        ---------      ----      -------
        oracle         Disk      Oracle Stage Directories
        tmp            Disk      Temporary file space
        apache         Disk      Apache HTTP Directory
        cdrom          Disk      Alpha CDROM Mount
        IPC$           IPC       IPC Service (Alpha's Samba Server)
        tcorr          Disk      Home Directories

        Server               Comment
        ---------            -------
        ALPHA                Alpha's Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            ALPHA

The key appears to be to have the -U option specified.   I think I am
having a password problem, and I think it has something to do with the
way I installed linux.  I used to use Red Hat 6.1 without any problems
(don't ask why I tried to upgrade, stupid, stupid, stupid).  Anyhow,
when I upgraded (by saving my old config files, and then re-installing)
I know I was asked about Password methods.  I think that is what is
getting me now.    I believe I choose standard/pam when I installed
linux, I don't know how to tell???

I have been reading, of course, DIAGNOSIS.txt by Andrew Tridgell, step 3
is where all of this is coming from, step 7, however, smbclient
//alpha/tcorr works just fine when I am prompted for a password.

Any suggestions would be helpful???

tom



--__--__--

Message: 9
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 18:01:25 -0500 (CDT)
To: "Ian Gillon" <iangillon at hotmail.com>
Cc: samba at samba.org
Subject: Re: smbd daemon not starting up


--1Uqo6rbxxM
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


[Ian Gillon <iangillon at hotmail.com>]
> My problem is that the smbd daemon is not starting up.

Running Samba from inetd is not recommended.  (Except SWAT.)  In
particular, nmbd can give problems when run this way.

> I have installed Samba 2.0.7.2 on HP-UX 11.00. Does anyone have this
> version running ok that can help.

What is 2.0.7.2?  Is that an HP-distributed version?  I am running
2.0.7 (compiled from source) on HP-UX 11.00 with no problems (well,
actually, I don't use it so there could be problems I'm not aware of)
and NOT using inetd.

I'll attach my startup script (copy this to /sbin/init.d/samba, make it
executable, and make appropriate links to /sbin/rc*.d/).  Note that you
may need to change the PID directory for your installation, as I don't
use the default.

Peter

--1Uqo6rbxxM
Content-Type: text/plain
Content-Description: Samba RC script on HP-UX 11
Content-Disposition: inline;
     filename="rc-samba-on-hpux"
Content-Transfer-Encoding: 7bit

#!/sbin/sh
#
# samba startup - Peter Samuelson
# portions gently lifted from existing HP-UX config scripts

# where smbd and nmbd live, and what their path should be
PATH=/usr/local/samba/bin:/usr/bin

# where the *.pid files live
s_pids=/var/lib/samba/locks

case "$1" in
  # HP-UX fancy shmancy boot message sequence
  start_msg) echo "Starting Samba daemons" ;;
  stop_msg)  echo "Shutting down Samba daemons" ;;

  start) smbd -D; nmbd -D ;;

  stop) kill -TERM `cat $s_pids/smbd.pid` 2>&-
        kill -TERM `cat $s_pids/nmbd.pid` 2>&- ;;

  restart) $0 stop; $0 start ;;
esac

exit 0;

--1Uqo6rbxxM--


--__--__--

Message: 10
Date: Sat, 02 Sep 2000 19:36:40 -0400
From: Tom Corr <tomcorr at sprintmail.com>
Reply-To: tomcorr at sprintmail.com
To: samba at samba.org
Subject: Red Hat 6.2 and Samba 2.0.6

My previous problem has been resolved.  The Linux/Samba server appears
to be working correctly now.

I now fail on Step 8.  From a Win98 DOS prompt, type "net view \\alpha"
(alpha being my Linux server running Samba).  I get the specified
computer is not receiving requests" message.  Any ideas what could be
causing this?  I can ping my Linux server from that PC, telnet to the
Linux server, and run X on that PC  Although, it did not appear to make
a difference I have added the IP address of my PC to the hosts.allow
file.

Help??



--__--__--

Message: 11
From: Peter Samuelson <peter at cadcamlab.org>
Date: Sat,  2 Sep 2000 19:47:13 -0500 (CDT)
To: "Joseph Wright" <jwright at mbakercorp.com>
Cc: <samba at samba.org>
Subject: Re: Samba Port


[Joseph Wright <jwright at mbakercorp.com>]
> Which port does samba run on?

grep netbios /etc/services

Peter


--__--__--

Message: 12
From: "lebeau  christophe" <christophe.lebeau at wanadoo.fr>
To: <samba at lists.samba.org>
Subject: username longer then 8 car. in win98SE
Date: Sun, 3 Sep 2000 20:39:54 +0400
boundary="----=_NextPart_000_000E_01C015E7.1DCDD030"

C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_000E_01C015E7.1DCDD030
Content-Type: text/plain;
     charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

problem with samba 2.0.6, it work fine except if username on win98SE =
longer then 8 car.
in this case i can see home share for the user but if y trie to connect =
to another share he tell me to enter a password.
user and password are ok to samba config files, if i reduce user name on =
samba and win98 to 8 car. i have no problem to connect to every share

------=_NextPart_000_000E_01C015E7.1DCDD030
Content-Type: text/html;
     charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>problem with samba 2.0.6, it work fine =
except if=20
username on win98SE longer then 8 car.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in this case&nbsp;i can see home share =
for the user=20
but if y trie to connect to another share he tell me to enter a=20
password.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>user and password are ok to samba =
config files, if=20
i reduce user name on samba and win98 to 8 car. i have no problem to =
connect to=20
every share</FONT></DIV></BODY></HTML>

------=_NextPart_000_000E_01C015E7.1DCDD030--



--__--__--

Message: 13
From: "lebeau  christophe" <christophe.lebeau at wanadoo.fr>
To: <samba at lists.samba.org>
Subject: user name longer then 8 c.in win98se
Date: Sun, 3 Sep 2000 20:52:26 +0400
charset="iso-8859-1"

hello
i have a problem with mandrake 7.1 and samba-2.06
it work fine except when username longer then 8 car. in this case he tell
me
to enter a password to connect to share. i enter the password and he tell
me
that not correct.
If i reduce username to 8 Car. with the same password it work properly.



--__--__--

Message: 14
Date: Sun, 03 Sep 2000 20:32:23 +0200
From: =?iso-8859-1?Q?K=F6vesdi=20Gy=F6rgy?= <kovesdi at tki.hu>
To: samba at samba.org
Subject: configure fails

SGksDQpUaGUgY29uZmlndXJlIGZhaWxzIGJlY2F1c2UgdGhlcmUgaXMgbm8gSEFWRV9GQ05U
TF9MT0NLIGRlZmluaXRpb24uDQpXaGF0IGlzIGl0IGFueXdheT8NCg0KVGhhbmtzIGluIGFk
dmFuY2UNCiAgICBL9nZlc2RpIEd59nJneQ0KDQo=


--__--__--

Message: 15
From: "Colin DuPlantis" <colin at cp.net>
To: <samba at lists.samba.org>
Subject: Mounting Solaris 2.6 Samba share on Solaris 2.6 Client
Date: Sun, 3 Sep 2000 11:31:09 -0700
Organization: http://www.cp.net
charset="iso-8859-1"

I am running Samba 2.0.4b on a Solaris 2.6 server, SERVER. I have made
available a few shares I would like to mount on another Solaris 2.6
machine,
CLIENT. I have successfully mounted said SERVER share on a Linux client on
the same subnet, so I believe the server is set up correctly.

My problem is that, while on Linux, I execute something like 'mount -t
smbfs...', what do I say on Solaris, 'mount -F ufs...?' I haven't been able
to figure that out.

bash-2.02# hostname
CLIENT
bash-2.02# ls -ld /usr/local
drwxr-xr-x 2 root other 512 Jul 20 1999 /usr/local
bash-2.02# mount -F smbfs //SERVER/local /usr/local
mount: operation not applicable to FSType smbfs
bash-2.02# mount -F ufs //SERVER/local /usr/local
mount: //SERVER/local or /usr/local, no such file or directory

Any help that can be offered will be appreciated. Thanks.

    - C




--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org






More information about the samba mailing list