[Samba] samba and winbind issues

Wieprecht, Karen M. Karen.Wieprecht at jhuapl.edu
Thu Oct 24 13:08:45 GMT 2002


1. Run ~samba/bin/wbinfo -u and make sure you are actually talking to your
domain controller

2. Do you have winbind entries in your nsswitch.conf file?  Have you made
your system re-read this info (the command is "nsadmin restart" on irix,
don't know about other platforms).  

3. The windows box isn't caching any old login data is it?   (I've had
problems testing samba configuration changes because windows 2000 caches
some of the login stuff ... I'm not great on windows admin, don't know how
to force the cache to clear without a reboot,  so I've had to reboot the
windows client to test...

4. One of the samba guys said that the winbind use default domain parameter
might not do what I originally hoped (help me  match NT username with UNIX
username without having to use a username map).  Recent tests seem to show
that my UID's only match if I turn that parameter off and use a username
map.  Of course,  testing has been very frustrating because I keep fighting
with windows caching ...  Have you tried using a username map?  

	Karen Wieprecht

-----Original Message-----
From: Jennifer Fountain [mailto:JFountain at rbinc.com] 
Sent: Wednesday, October 23, 2002 9:39 AM
To: samba at lists.samba.org
Subject: [Samba] samba and winbind issues


I know winbind (i think) is working fine. i can log into a unix box with my
NT userid but when i try to access shares on my samba server, i get these
errors:

 [2002/10/23 08:47:01, 0] lib/util_sec.c:(111)
  Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2002/10/23 08:47:01, 0] lib/util.c:(1092)
  PANIC: failed to set gid

[2002/10/23 09:17:08, 0] lib/util_sec.c:(111)
  Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
[2002/10/23 09:17:08, 0] lib/util.c:(1092)
  PANIC: failed to set gid

log.smbd: END

Here is a copy of my smb.conf

 

# Samba config file created using SWAT
# from ws09573.rb.net (10.27.52.177)
# Date: 2002/10/23 08:16:35

# Global parameters
[global]
	workgroup = domain1
	netbios name = ARES
	server string = ARES_SAMBA
	interfaces = lan4 127.0.0.1
	bind interfaces only = Yes
	security = DOMAIN
	encrypt passwords = Yes
	password server = dc1
	wins server = 10.1.14.25
	winbind uid = 40000-49999
	winbind gid = 50000-59999
	template shell = /usr/bin/ksh
	winbind use default domain = Yes

[jf]
	path = /tmp/jfountain
	username = jfountain
	valid users = jfountain
	admin users = domain admins
	read only = No


what am i doing wrong?

any info would be greatly appreciated!
thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list