Problems doing update

Luke Kenneth Casson Leighton lkcl at cb1.com
Tue May 12 10:29:27 GMT 1998


On Tue, 12 May 1998, Tavis Barr wrote:

> 
> I am re-posting a question to the list at someone's suggestion.  The 

me! me!

> problem is this: I _think_ I am using the latest CVS update of the code 
> as of this afternoon.  However, there are some things about the code 
> that appear old:
> 
> (1) When I run smbclient, I get a header that says
> 
>  Domain=[SAMBADC] OS=[Unix] Server=[Samba 1.9.18p3]
> 
> (2) smbclient crashes when run against a remote server, stating for example:
> 
> ..
> Connecting to 128.59.220.18 at port 139
> error connecting to 128.59.220.18:139 (Connection refused)
> cli_establish_connection: failed to connect to MARKOV<00> (0.0.0.0)
> client_init: connection failed
> warning: connection could not be established to 128.59.220.18<20>
> this version of smbclient may crash if you proceed
> ~ %

this is a BRANCH_NTDOM version, not the mail-line version.
 
> (3) log.nmbd indicates that nmbd is version 1.9.18p3 and doesn't recognize 
> the parameter "domain sid"

are you running from inetd or anything?  you cannot be running the latest
version if log.nmbd states that 1.9.18p3 is running, period.

- are you running it as ./nmbd instead of just nmbd
- did you do a make; make install; /usr/local/samba/bin/smbd;
/usr/local/samba/bin/nmbd?
- other
 
> Nevertheless, the code is clearly new in some respects.  testparm 
> recognizes "domain sid" and the binary swat is installed as well.  

bizarre.

> 
> When I put this query in a few days ago, I got a bunch of responses 
> saying "you need to update your code."

yes, because you are running old (and different!) versions of samba,
probably from locations that you are not aware of.


 
> smb % mv samba samba-old
> smb % cvs -d :pserver:cvs at samba.anu.edu.au:/cvsroot login 
> [enter password cvs]
> smb % cvs -d :pserver:cvs at samba.anu.edu.au:/cvsroot co samba 
> [lots of output, in the form of "Updating..."]
> smb % cd samba
> samba % cvs update -d -P -A
> [lots more similar output]
> samba % cd source
> [edit Makefile for SunOS 4 flags and CC=gcc and my domain]
> samba % make
> [compiling output]
> samba % make install
> 
> I then restart Samba.  Am I missing something really basic?  I ran it by 
> Luke and he thought it looked okay and might be something in my smb.conf 
> file.  I'm enclosing that below.  I would strongly welcome any suggestions 
> anyone has.
> 
> Thanks,
> Tavis
> 
> 
> ; Configuration file for smbd.
> ; ============================================================================
> 
> [global]
>    workgroup=SAMBADC
>    server string=Sparc2 in Sociology
> 
>    hosts allow = 128.59.226.78 , 128.59. , 127.
>    guest account = nobody
>    socket options = TCP_NODELAY 
>    domain sid = S-1-5-21-059-226-071

well done - someone who picked a sid that _isn't_ 123-456-789 :-) :-)

>    domain logons = yes
>    domain master = yes
>    local master = yes
>    os level = 100
>    security = domain
>    encrypt passwords = no

ok, you will need "encrypt passwords = yes", for sure.

>    logon script = %U.bat
>    logon drive = l:
> 
>    wins support = yes
>    wins proxy = yes
>    remote announce = 128.59.226.175 , 128.59.226.42, 128.59.194.255, 128.59.220.255

the use of remote announce is not recommended.

>    remote browse sync = 128.59.220.18

what the _heck_ is this parameter???

>    preferred master = yes
> 
>    printing = bsd
>    printcap name = /etc/printcap
>    load printers = yes
> 
>    log file = /usr/local/samba/log.%m
>    debug level = 3
> 
>    lock directory = /usr/local/samba/var/locks
>    share modes = yes

add case sensitive = no case preserve = yes short case preserve = yes look
these up in man smb.conf to check spelling.

> 
> [NETLOGON]
>    path = /usr/local/samba/lib/netlogon
>    writeable = no
>    guest ok = yes
>    share modes = no
>    public = yes

important:

locking = no
guest ok = no
delete either public = yes or guest ok = yes - they are identical see
man smb.conf :-)




More information about the samba-ntdom mailing list