[Samba] Cannot browse domain user list with 3.3.9 (and higher)
henri
ciradhb.forward at laposte.net
Wed Oct 27 13:00:02 MDT 2010
Hi
Well, I finally fixed the problem on my own.
For some reason, I had some badly encoded accentuated characters in the
passdb.tdb in the description field of some accounts. They probably come
from a samba 2.x smbpasswd file that was used in the past before upgrading
to 3.x and tdb backend.
I simply fixed it by checking (pdbedit + grep) all accounts , and correct
them with usrmgr.exe under 3.3.2 , and then upgrade to 3.3.9 . It works. I
will now upgrade directly to 3.5.6.
These characters were treated correctly up to samba 3.3.2 but it seems
something has changed about encoding of chars in the next versions, or maybe
a bug ?
Hope this can be useful to anyone.
Henri
> -----Message d'origine-----
> De : samba-bounces at lists.samba.org
> [mailto:samba-bounces at lists.samba.org] De la part de henri
> Envoyé : lundi 25 octobre 2010 21:00
> À : samba at lists.samba.org
> Objet : Re: [Samba] Cannot browse domain user list with 3.3.9
> (and higher)
>
>
>
> Hi
>
> Sorry to ask again, but I am really in trouble to upgrade my
> samba server from 3.3.2 to higher. I made some other tests
> with various version up to
> 3.5.4 I get the same symptoms and the same error as below :
> Bad char conversion.
>
> Is there a compatibility problem between Samba version ?
> Do I have to purge some old cached files in the var/locks dir
> (or other) ?
> Did I miss to compile samba with a specific option or specific lib ?
>
> Please help
>
> Thanks in avance.
>
> Henri
>
> > -----Message d'origine-----
> > De : samba-bounces at lists.samba.org
> > [mailto:samba-bounces at lists.samba.org] De la part de henri Envoyé :
> > mercredi 20 octobre 2010 21:26 À : samba at lists.samba.org Objet :
> > [Samba] Cannot browse domain user list with 3.3.9
> >
> >
> >
> > Hi,
> >
> > I am trying to upgrade Samba from 3.3.2 to 3.3.9 for Win7
> > compatibility issue.
> > It is running on Redhat 9.0 (I've planned to upgrade to
> Centos 5.5 in
> > a second setp) and without any ldap backend (tdbsam actually).
> >
> > As I have already done in the past for upgrading, I have done the
> > following procedure :
> >
> > 1) Compile 3.3.9 . My configure option are :
> > ./configure --with-acl-support --enable-cups --with-pam
> > --with-configdir=/usr/local/samba/etc --with-quotas --with-winbind
> > 2) Stop the 3.3.2 service , and backup all the /usr/local/samba dir
> > 3) make install the 3.3.9
> > 4) restart the 3.3.9 service
> >
> > Everything seems to work fine, except that :
> > - I can't use USRMGR.EXE anymore. I get a popup error when
> I run it :
> > "Incorrect Parameter, do you want to select another domain to
> > administer" .
> > - I can't explore the users domain when I try to list the users for
> > adding permissions to share a folder, or adding a domain user in a
> > local group. I can see only the domain groups.
> >
> > I really need some help, I will have to deploy Win7 in a very near
> > futur :-S .
> >
> > I have done some debugging in log level 2, it seems I got an error
> > about Bad char conversion :
> >
> > When I run USRMGR.EXE :
> > [2010/10/20 19:01:02, 2] smbd/close.c:close_normal_file(606)
> > smbadmin closed file USRMGR.EXE (numopen=2) NT_STATUS_OK
> [2010/10/20
> > 19:01:02, 2] smbd/open.c:open_file(551)
> > smbadmin opened file USRMGR.EXE read=Yes write=No
> > (numopen=3) [2010/10/20 19:01:02, 1]
> > librpc/ndr/ndr.c:ndr_push_error(493)
> > ndr_push_error(5): Bad char conversion [2010/10/20 19:01:02, 0]
> > rpc_server/srv_pipe.c:api_rpcTNP(2381)
> > api_rpcTNP: samr: SAMR_QUERYDISPLAYINFO failed.
> > [2010/10/20 19:02:49, 1] librpc/ndr/ndr.c:ndr_push_error(493)
> > ndr_push_error(5): Bad char conversion [2010/10/20 19:02:49, 0]
> > rpc_server/srv_pipe.c:api_rpcTNP(2381)
> > api_rpcTNP: samr: SAMR_QUERYDISPLAYINFO failed.
> >
> > When I try to list the domain users :
> > 2010/10/20 19:03:43, 2]
> > rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
> > Returning domain sid for domain CIRAD_STP ->
> > S-1-5-21-3907834674-2055786620-3212856667
> > [2010/10/20 19:03:43, 2]
> > rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
> > Returning domain sid for domain CIRAD_STP ->
> > S-1-5-21-3907834674-2055786620-3212856667
> > [2010/10/20 19:03:43, 1] librpc/ndr/ndr.c:ndr_push_error(493)
> > ndr_push_error(5): Bad char conversion [2010/10/20 19:03:43, 0]
> > rpc_server/srv_pipe.c:api_rpcTNP(2381)
> > api_rpcTNP: samr: SAMR_QUERYDISPLAYINFO failed.
> > [2010/10/20 19:03:43, 2]
> > rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
> > Returning domain sid for domain CIRAD_STP ->
> > S-1-5-21-3907834674-2055786620-3212856667
> > [2010/10/20 19:03:43, 2]
> > rpc_server/srv_samr_nt.c:_samr_LookupDomain(3456)
> > Returning domain sid for domain CIRAD_STP ->
> > S-1-5-21-3907834674-2055786620-3212856667
> >
> >
> > Here is the global section on my smb.conf :
> >
> > [global]
> > log level = 2
> > netbios name = server1
> > server string = My Server
> > workgroup = CIRAD_STP
> >
> > wins support = yes
> > os level = 255
> > local master = yes
> > preferred master = yes
> > domain master = yes
> > domain logons = yes
> >
> > security = user
> > encrypt passwords = yes
> > passdb backend = tdbsam:/usr/local/samba/private/passdb.tdb
> >
> > enable privileges = yes
> >
> > printcap name = /etc/printcap
> > load printers = no
> > printing = cups
> >
> > nt acl support = yes
> > map acl inherit = yes
> > inherit acls = yes
> >
> > obey pam restrictions = yes
> >
> > time server = yes
> > username map = /usr/local/samba/etc/smbusers
> >
> > name resolve order = wins host lmhosts bcast
> >
> > logon script = logon%a.cmd
> > logon path =
> > logon drive = H:
> > logon home = \\server1\%U
> >
> > Thanks in advance , any help would be very appreciated .
> >
> > Henri
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list