[Gllug] samber meets win 2003

Ian Northeast ian at house-from-hell.demon.co.uk
Thu Feb 17 21:19:16 UTC 2005


Sean Burlington wrote:
> Help....
> 
> I'm having trouble mounting a win 2003 share :(
> 
> I can
> 
> access it via smbclient
> 
> I get to step 10 in this guide
> 
> www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm
> 
> samba starts OK - I appear to have joined the domain
> 
> but then
> wbinfo -u
> Error looking up domain users
> 
> wbinfo -g
> Error looking up domain groups
> 
> 
> These just give me local account details
> getent passwd
> getent group
> 
> and finally
> 
> smbmount //HIKER/web /mnt/intranet/ -o username=********%******
> cli_negprot: SMB signing is mandatory and we have disabled it.
> 5416: protocol negotiation failed
> SMB connection failed

At work I have to mount shares from an NT (may be 2K by now, I'm pretty 
sure it's not up to 2003 yet) domain. I don't join the domain as such 
nor do I start any Samba processes (well I didn't used to, I'm now 
sharing a filesystem off my desktop to an XP machine on the next desk, 
so I do, but it used to work before this).

I have in fstab:

//server/tech_serv    /mnt/tech_serv          smbfs 
noauto,username=domainusername,workgroup=domainname,uid=500,gid=500,umask=002 
     0 0

Then I just "mount /mnt/tech_serv" and provide my domain password at the 
prompt.

Whether this would still work with a 2003 domain I can't tell. Nor can I 
tell whether there are some settings our Windows domain admins have made 
which facilitate it (if there are I'm sure it wasn't deliberate. 
Although they are investigating Linux for domain servers now, one of 
them borrowed my SLES9 CDs today, they certainly weren't considering 
Linux or Samba when they set this up). But as you can access it with 
smbclient I'd think it ought to work. The protocol's the same.

But Windows networking is essentially a mystery to me. I just know what 
works for me with SMB clients and servers. Frankly I was surprised when 
the above did work, until I tried it I assumed I would have to join the 
domain, as I understand that Samba behaves like Windows NT as opposed to 
9x and NT clients have to. But perhaps that only applies to the server side.

PS I am trying to persuade my colleagues in Tech Support to move their 
documentation onto a UNIX server of ours which will serve out the 
documents over both Samba and Apache, and allow them to update them with 
Samba. The convenience of being able to read them in a web browser 
efficiently from anywhere in the company's worldwide network is 
beginning to convince them. Our network admins very strongly discourage, 
and in some cases I think even prevent on the routers, intercontinental 
NetBIOS because they recognise how inefficient it is.

Regards, Ian

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list