Re: [Samba] Winbind error ? idmap Fatal Error: UID range full!

2009-03-20 Thread John Drescher
On Fri, Mar 20, 2009 at 11:06 AM, Phibee Network Operation Center
n...@phibee.net wrote:
 Hi

 anyone know this error:

 Mar 20 12:01:06 gw winbindd[14756]: [2009/03/20 12:01:06, 0]
 sam/idmap_tdb.c:db_allocate_id(106)
 Mar 20 12:01:06 gw winbindd[14756]:   idmap Fatal Error: UID range full!!
 (max: 2)
 Mar 20 12:01:06 gw winbindd[14756]: [2009/03/20 12:01:06, 0]
 sam/idmap_tdb.c:db_allocate_id(106)
 Mar 20 12:01:06 gw winbindd[14756]:   idmap Fatal Error: UID range full!!
 (max: 2)
 Mar 20 12:01:06 gw winbindd[14756]: [2009/03/20 12:01:06, 0]
 sam/idmap_tdb.c:db_allocate_id(106)


 and what is the process for resolv it ?

Did you try the obvious? I mean increase the uid range in your smb.conf.

John
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] winbind error - Conversion error: Illegal multibyte sequence(æ~S^\^H)

2005-01-26 Thread Michael Gasch
i have the same problems since yesterday (was: SuSE 3.0.4)
i attached the original mail
## ORIG MAIL TO SAMBA LIST 
[Samba] Possible Winbind Bug ?!?!
hi,
today i experience a very crazy behaviour:
1) yesterday my winbindd crashed (s. log.crash) (status: dead)
2) restarted winbind and saw that some files have no owner (just the 
uidNumber)

3) getent passwd, wbinfo -u shows me all users (authenticating agains 
Windows PDC)
4) i'm using nsswitch (passwd: files winbind, group: files winbind)

e.g. (getent passwd)
 (snip)
install:x:10101:10016::/data/users/install:/bin/bash
 (snip)
BUT: id install says no such user and files owned by install are 
visible as (ls -al) drwx-- 10101.group filename

WEIRD: after mapping the homedrive of user install, id install gives 
the correct data ?!?!?!
all this starts since yesterday (after the crash)

winbind always says in the logs:
[2005/01/26 11:15:11, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Illegal multibyte 
sequence(..t)
[2005/01/26 11:15:11, 3] lib/charcnv.c:convert_string_allocate(567)
  convert_string_allocate: Conversion error: Incomplete multibyte 
sequence(.t)
[2005/01/26 11:15:11, 4] 
nsswitch/winbindd_group.c:get_sam_group_entries(561)
  get_sam_group_entries: Native Mode 2k domain; enumerating local 
groups as well
[2005/01/26 11:15:11, 4] 
nsswitch/winbindd_group.c:get_sam_group_entries(570)
  get_sam_group_entries: Returned 0 local groups
[2005/01/26 11:15:11, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(225)
  [13474]: getpwuid 10101
[2005/01/26 11:15:11, 4] nsswitch/winbindd_acct.c:wb_getpwuid(414)
  wb_getpwuid: failed to locate uid == 10101

allthough wbinfo -u shows all users, wbinfo -S S-1-5-21-. gives 
10101, and so on  IT's CRAZY

please help !!!
versions:
samba-3.0.10-0.1
samba-python-3.0.10-0.1
samba-winbind-3.0.10-0.1
samba-doc-3.0.9-2.1.5
samba-client-3.0.10-0.1
samba-pdb-3.0.10-0.1
samba-vscan-0.3.5-11.7.6

 smb.conf (domain member in NT domain) #
[global]
   workgroup = EVAN
   netbios name = nevanfs01
   server string = Fileserver EVAN
#  netbios aliases = nevanfs02
   username map = /etc/samba/username.map
#  admin users = @Domain Admins
   admin users = @EVAN\edv
   log level = 5
   log file = /var/log/samba/log.%m
   max log size = 1
#  passdb backend = ldapsam:ldap://nevanpdc.eva.mpg.de:389 
ldap://nevanbdc.eva.mpg.de:389;
#  ldap passwd sync = yes
   ldap suffix = dc=eva,dc=mpg,dc=de
   ldap admin dn = uid=sambamanager,ou=Users,dc=eva,dc=mpg,dc=de
#  ldap filter = ((objectclass=sambaSamAccount)(uid=%u))
   ldap machine suffix = ou=Computers
   ldap user suffix  = ou=Users
   ldap group suffix = ou=Groups
   ldap replication sleep = 2000
#  ldap delete dn = yes

#  idmap backend = ldap:ldap://nevanpdc.eva.mpg.de:389 
ldap:ldap://nevanbdc.eva.mpg.de:389 - funktioniert (noch) nicht
   idmap backend = ldap:ldap://nevanpdc.eva.mpg.de:389
#  idmap backend = ldap:ldap://nevanbdc.eva.mpg.de:389
   ldap idmap suffix = ou=Idmap
   idmap uid = 1-5
   idmap gid = 1-5

   winbind use default domain = yes
#  winbind enum users = no
#  winbind enum groups = no
#  winbind trusted domains only = yes
   winbind cache time = 60
   template shell = /bin/bash
   template homedir = /data/users/%U
#  follow symlinks = yes
#  wide links = yes
   interfaces = 192.168.1.239
   bind interfaces only = yes
   guest ok = no
   guest account = Gast
#  guest account = nobody
   security = domain
   local master = no
   os level = 32
   domain master = no
   domain logons = no
   encrypt passwords = yes
#  password server = nevanpdc, nevanbdc, *
   password server = evanpdc
#  socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
   wins support = no
   dns proxy = no
#  add user script = /root/bin/BDC/adduser.sh '%u'
#  add machine script = /root/bin/BDC/addmachine.sh '%u'
#  add group script = /root/bin/BDC/addgroup.sh '%g'
#  add user to group script = /root/bin/BDC/add_to_group.sh '%u' '%g'
#  delete user script = /root/bin/BDC/deleteuser_rpc.sh '%u'
#  delete group script = /root/bin/BDC/deletegroup.sh '%g'
#  delete user from group script = /root/bin/BDC/delete_from_group.sh 
'%u' '%g'

   display charset = UTF8
   unix charset = UTF8
   # store DOS ATTRIB (Archive, ReadOnly, ...) in extended attributes 
(FS must support it)
   # map options must be set no
   store dos attributes = yes
   map archive = no
   map system = no
   map hidden = no
   unix extensions = no

#  printing = CUPS
#  printcap name = CUPS
#  load printers = yes
#  use client driver = yes
[homes]
(snip)
 LOGS ##
# log.crash
Jan 25 17:11:41 nevanfs01 winbindd[3698]: 
===
Jan 25 17:11:41 nevanfs01 winbindd[3698]: [2005/01/25 17:11:41, 0] 
lib/fault.c:fault_report(37)
Jan 25 17:11:41 nevanfs01 winbindd[3698]:   INTERNAL ERROR: Signal 6 in 
pid 3698 (3.0.4-SUSE)
Jan 25 17:11:41 nevanfs01 

RE: [Samba] winbind error

2003-06-20 Thread Brandon Lederer
Did you join the domain successfully?

-Original Message-
From: Jim Adkins [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:10 PM
To: [EMAIL PROTECTED]
Subject: [Samba] winbind error


Hello,

I've been working on getting winbind set up and running for quite some time 
now. I've had absolutly no luck. I've tried mulitple tutorials, and I've 
always had the same problems. It seems that winbind runs, but doesn't DO 
anything. I've tried to use wbinfo to ping winbind, and it can't ping it. 
but by using ps -ea | grep winbindd, I get 15824 ?00:00:00 
winbindd so it seems to be running, but just not doing anything. Why would 
it be running and wbinfo not be able to ping it or pull any info with it? 
Well, here's my smb.conf file, I've been using SWAT to manage it, and it 
seems to be working fine for everything else, but I want to be able to have 
my domain users and groups on my Linux box so that shares can have better 
security.

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/06/20 11:03:53

# Global parameters
[global]
workgroup = SBH
netbios name = SG3
server string = Samba Server %v
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad User
password server = MSS1 SERVER3 SBHMX
password level = 3
username level = 3
unix password sync = Yes
restrict anonymous = Yes
log file = /var/log/samba/log.%m
max log size = 50
keepalive = 100
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/sbin/useradd %u
delete user script = /usr/sbin/userdel %u
logon path =
preferred master = No
domain master = No
dns proxy = No
winbind uid = 1-2
winbind gid = 1-2
template homedir = /home/winnt/%D/%U
winbind separator = +
printer admin = @adm
profile acls = Yes
printing = cups

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r   # using client side 
printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = Yes

Please, can anyone help me out. I've been pulling my hair out for weeks with

this.

Thank you all in advance. -Jim

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Winbind error

2003-02-03 Thread Sajesh Singh
I think it was an oversight on my part I found the net command in the
samba directory.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Sajesh Singh
Sent: Monday, February 03, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Winbind error


Samba Gurus,
I have successfully compiled samba with the winind
option on Solaris 8. When I try to configure winbind by using the
smbpasswd -j option I get the following message:See 'net join'
for this functionality

Please advise




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] winbind - error looking up domain users/groups

2002-11-22 Thread Gareth Davies
Run wbinfo -A Administrator%password

Then try again.

 Shaolin - IT Systems
 WB Ltd.
.: http://www.security-forums.com :.


- Original Message - 
From: Wilson A. Galafassi Jr. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 1:21 PM
Subject: [Samba] winbind - error looking up domain users/groups


 Hello all!
 
 I have on my network a PDC running w2k with active directory.
 On this machine i have:
 nic 1: internet (valid ip)
 nic 2: hub 1 - 10.1.1.1
 nic 2: hub 2 - 11.1.1.1
 my wins server is running in 10.1.1.1 on pdc.
 i applied SP3 and all windows updates corrections.
 
 on my linux machine i have:
 kernel: 2.4.19 - samba 2.2.7 - squid 2.5S1
 nic 1: internet (valid ip)
 nic 2: hub 1 - 192.168.0.100
 nic 2: PDC network - 10.1.1.100
 
 For tests only i have setup another machine with w2k and active
 directory and on this machine winbind and wbinfo -t/-g/-u run's
 correctly and i have attached the logs of nmbd and winbindd when running
 with this machine named log.nmbd.ok and log.winbindd.ok. in this machine
 is everything OK!!!
 
 In my pdc i sucefully join on domain running smbpasswd -j domain. The
 command wbinfo -t/-p works fine. but when i run wbinfo -u/-g result in
 error looking up domain users/groups. the autentication with wbinfo -a
 user%passw works fine. i attached the logs when running nmbd and
 winbindd in this machine (PDC oficial) named log.winbindd.error and
 log.nmbd.error.
 
 I just use samba/winbind to provide ntlm autentication to squid using
 w2k users/groups database.
 
 For your reference i attached smb.conf and lmhosts files.
 
 What is the problem on configuration of my W2k machine Any
 helpme
 
 OBS: sory, but my english is bad. :)
 
 Thanks
 
 Wilson Galafassi
 licq: 77032308
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba