Samba on HP-UX 10.20

Samba on HP-UX 10.20

Post by Craig Kell » Thu, 23 Apr 1998 04:00:00





->I've installed samba-1.9.17p3, my problem now every time I type smdb -D
->& nmdb -D, I got error messages "permission denied".  I've check my my
->directory and files, all are 755 modes.  Please help!

You are doing this as root, right?

--
Wheel is turning, but the hamster is dead.


 
 
 

Samba on HP-UX 10.20

Post by Amalludin Hj Yahy » Fri, 24 Apr 1998 04:00:00


Hi there,

I've installed samba-1.9.17p3, my problem now every time I type smdb -D
& nmdb -D, I got error messages "permission denied".  I've check my my
directory and files, all are 755 modes.  Please help!

Regards,
amal

 
 
 

Samba on HP-UX 10.20

Post by Paul R.D. LANting » Fri, 24 Apr 1998 04:00:00



> Hi there,

> I've installed samba-1.9.17p3, my problem now every time I type smdb -D
> & nmdb -D, I got error messages "permission denied".  I've check my my
> directory and files, all are 755 modes.  Please help!

> Regards,
> amal

Since samba binds to a priveleged port (port 139), you need to run this
as root.

I found the following startup script is useful on hpux.  We run the
following to install:
cp samba.init /sbin/init.d/samba
chmod 555 /sbin/init.d/samba
chown bin /sbin/init.d/samba
chgrp bin /sbin/init.d/samba
ln -s /sbin/init.d/samba /sbin/rc2.d/S903samba
ln -s /sbin/init.d/samba /sbin/rc1.d/K913samba

and the follwing script, called samba, is what fires up samba:
$ cat samba.init
#!/sbin/sh
#

#
# Samba startup: Startup and kill script for the Samba server
#

PATH=/usr/sbin:/usr/bin:/sbin
export PATH

case $1 in
start_msg)
        echo "Doing the Samba"
        ;;

stop_msg)
        echo "Samba til the cows come home.  MOOOOooooo"
        ;;

'start')
        /usr/local/samba/bin/smbd -D
        /usr/local/samba/bin/nmbd -D
        ;;
'stop')
        PIDS=`ps -e | awk '$4 == "smbd" {print $1}'`
        [ -z "$PIDS" ] && exit 0
        kill "$PIDS"
        PIDS=`ps -e | awk '$4 == "nmbd" {print $1}'`
        [ -z "$PIDS" ] && exit 0
        kill "$PIDS"
        ;;
*)
        echo "usage: $0 {start_msg|start|stop_msg|stop}"
        ;;
esac

exit 0;

Hope that helps.  Paul.
--
Paul R.D. Lantinga Sr. Network Engineer
Verifone India Pvt. Ltd.   Bangalore

 
 
 

1. Samba 2.05 HP-UX 10.20 PDC-accounts are locked out

hi folks,

on one server we have to administrate Samba 2.05a is running.

The phenomena is that when users are trying to connect to a network
share Samba is sending wrong passowrds and after 7 attempts the acoount
is disabled

        Grund:                  Unbekannter Benutzername oder falsches Kennwort
        >                    unknown account or wrong passowrd
        Benutzername:           BAR    
        >usename             BAR
        Dom?ne:                        ICT
        >domain
        Anmeldetyp:             3      
        Anmeldeproze?:         KSecDD  
        Echtheitsbest?tigungspaket:    MICROSOFT_AUTHENTICATION_PACKAGE_V1_0          
        Name der Arbeitsstation:        \\SIGMAICT              
23.10.02,06:39:59,Security,berwachung-Fehlversuche,Anmeldung/Abmeldung
,529,NT-AUTORIT?T\SYSTEM,A2-ACHILLES,Anmeldung fehlgeschlagen:        

[...]

25.10.02,07:22:32,Security,berwachung-Fehlversuche,Anmeldung/Abmeldung
,539,NT-AUTORIT?T\SYSTEM,A2-ACHILLES,Anmeldung fehlgeschlagen:                        
        Grund:                  Konto gesperrt

PDC is a WinNT 4 Server.

What people around here heard is the following: NT4 has a bug. SAMBA is
sending a wrong password first to test if the bug is not foxed on that
PDC system or not.  Depending on the result SAMBA is running a kind of
error handling.

have you information on that, can you confirm ? What bug is that SAMBA
is trying to find out ?

THX a lot

:) FS

2. Copy 'bad' partition

3. Samba on HP-UX 10.20 / NT hang and crash

4. Wanted: easter eggs

5. Samba Binaries for HP-UX 10.20

6. Enumerating Universal Groups?

7. Problems with locks on HP-UX 10.20 with Samba 2.2.3a

8. Whats needed for TCP/IP Programming ?

9. SAMBA 1.9.18p3 binaries for HP-UX 10.20

10. Samba 2.2.0 HP-UX 10.20 "max clients already connected"

11. Samba & HP-UX 10.20

12. Samba Tree connect fail on HP-UX 10.20

13. Help: Problem with samba 2.0.5 and HP-UX 10.20