help

Daniel Schwager Daniel.Schwager at dtnet.de
Wed Apr 26 12:13:29 GMT 2006


help
On Wed, Apr 26, 2006 at 12:08:23PM +0000, samba-technical-request at lists.samba.org wrote:
Content-Description: samba-technical Digest, Vol 40, Issue 25
> Send samba-technical mailing list submissions to
> 	samba-technical at lists.samba.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.samba.org/mailman/listinfo/samba-technical
> or, via email, send a message with subject or body 'help' to
> 	samba-technical-request at lists.samba.org
> 
> You can reach the person managing the list at
> 	samba-technical-owner at lists.samba.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of samba-technical digest..."

Content-Description: Today's Topics (8 messages)
> Today's Topics:
> 
>    1. Re: Samba 3.0.23pre1 Available for Download (William Jojo)
>    2. python error in 3.0.23pre1: (No?l K?the)
>    3. Re: python error in 3.0.23pre1: (Guenther Deschner)
>    4. Re: python error in 3.0.23pre1: (No?l K?the)
>    5. (little) bug in DeletePrinter (Martin Zielinski)
>    6. Re: python error in 3.0.23pre1: (No?l K?the)
>    7. Re: (little) bug in DeletePrinter (Gerald (Jerry) Carter)
>    8. Re: python error in 3.0.23pre1: (Gerald (Jerry) Carter)

> From: William Jojo <jojowil at hvcc.edu>
> Subject: Re: Samba 3.0.23pre1 Available for Download
> Cc: samba-technical at samba.org
> To: Volker Lendecke <Volker.Lendecke at SerNet.DE>
> Message: 1
> 
> 
> 
> On Mon, 24 Apr 2006, Volker Lendecke wrote:
> 
> >On Mon, Apr 24, 2006 at 09:55:51AM -0400, William Jojo wrote:
> >>- User ACDEV\billtest denied access to machine joined to DEVEX with
> >>following log snip (this worked in 3.0.21c). [DEVEX trusts ACDEV. Seems 
> >>that
> >>ACDEV\billtest is being mapped to additional DEVEX-513 Domain User group
> >>SID. DEVEX domain has "winbind trusted domains only=yes" since we get user
> >>information from shared POSIX user LDAP database in the underlying AIX
> >>infrastructure.]:
> >
> >To fully understand: All DC's are Samba, or is Windows
> >involved? Can we get the debug level 10 logs of the complete
> >auths on both DCs and the member?
> >
> 
> All DC's Samba, Trusted is 3.0.21c and trusting is 3.0.23pre1
> 
> >S-1-5-21-3269597203-4174657902-3103009261 is the domain SID
> >of ACDEV? And S-1-5-21-556488586-4065355411-3599285718 the
> >one of DEVEX?
> 
> Correct.
> 
> >
> >Do you use winbind?
> >
> 
> Correct again, only on the trusting box. Not using idmap backend. Used to 
> but not anymore since we can get Samba to do algorithmic mapping on the 
> trusting box, which now maps to S-1-22-[12]-[uid|gid] (which, btw rocks as 
> far as I'm concerned). The problem seems to be setting the default group 
> of the ACDEV\billtest user to the "DEVEX\Domain Users" group instead of 
> its POSIX gid.
> 
> We are doing the POSIX uid/gid in the LDAP tree shared by our AIX boxes. 
> This is necessary due to our reliance on single sign on for proper cosmic 
> planetary alignment. :-)
> 
> >Volker
> >
> >P.S.: Thanks for testing!
> >
> 
> Always my pleasure.
> 
> I'm picking up my wife and son at the airport in a few, so I'll get the 
> level 10 asap. Also, in the log, the winbindd auth was successful, it's 
> just a group mapping issue from what I've seen so far.
> 
> Cheers,
> 
> Bill
> 
> 

> From: Noèl Köthe <noel at debian.org>
> Subject: python error in 3.0.23pre1:
> To: samba-technical at lists.samba.org
> Message: 2
> 
> Hello,
> 
> 3.0.23pre1 build failed on Debian sid/unstable with:
> 
> building 'tdb' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.3 -c python/py_tdb.c -o build/temp.linux-i686-2.3/python/py_tdb.o -g -Wall -O2 -D_SAMBA_BUILD_ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -g -Wall -O2 -D_SAMBA_BUILD_ -I./iniparser/src -Iinclude -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/include -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/tdb -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source -D_SAMBA_BUILD_
> In file included from /usr/include/python2.3/Python.h:8,
>                  from python/py_tdb.c:34:
> /usr/include/python2.3/pyconfig.h:853:1: warning: "_POSIX_C_SOURCE" redefined
> In file included from /usr/include/sys/types.h:27,
>                  from include/includes.h:94,
>                  from python/py_tdb.c:25:
> /usr/include/features.h:150:1: warning: this is the location of the previous definition
> python/py_tdb.c: In function ???py_tdb_hnd_lock_bystring???:
> python/py_tdb.c:497: error: too many arguments to function ???tdb_lock_bystring???
> error: command 'gcc' failed with exit status 1
> make[1]: *** [python_ext] Fehler 1
> make[1]: Leaving directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> make: *** [build-stamp] Fehler 2
> 
> $ python -V
> Python 2.3.5
> $ gcc --version
> gcc (GCC) 4.0.3 (Debian 4.0.3-1)
> 
> regard.
> 
> -- 
> Noèl Köthe <noel debian.org>
> Debian GNU/Linux, www.debian.org



> From: Guenther Deschner <gd at samba.org>
> Subject: Re: python error in 3.0.23pre1:
> Cc: samba-technical at lists.samba.org
> To: Noèl Köthe <noel at debian.org>
> Message: 3
> 
> Hi,
> 
> On Tue, Apr 25, 2006 at 06:37:43PM +0200, Noèl Köthe wrote:
> > Hello,
> > 
> > 3.0.23pre1 build failed on Debian sid/unstable with:
> > 
> > building 'tdb' extension
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.3 -c python/py_tdb.c -o build/temp.linux-i686-2.3/python/py_tdb.o -g -Wall -O2 -D_SAMBA_BUILD_ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -g -Wall -O2 -D_SAMBA_BUILD_ -I./iniparser/src -Iinclude -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/include -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/tdb -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source -D_SAMBA_BUILD_
> > In file included from /usr/include/python2.3/Python.h:8,
> >                  from python/py_tdb.c:34:
> > /usr/include/python2.3/pyconfig.h:853:1: warning: "_POSIX_C_SOURCE" redefined
> > In file included from /usr/include/sys/types.h:27,
> >                  from include/includes.h:94,
> >                  from python/py_tdb.c:25:
> > /usr/include/features.h:150:1: warning: this is the location of the previous definition
> > python/py_tdb.c: In function ???py_tdb_hnd_lock_bystring???:
> > python/py_tdb.c:497: error: too many arguments to function ???tdb_lock_bystring???
> > error: command 'gcc' failed with exit status 1
> > make[1]: *** [python_ext] Fehler 1
> > make[1]: Leaving directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> > make: *** [build-stamp] Fehler 2
> 
> This has already been fixed by Lars Mueller and is in subversion:
> http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=15180&view=rev
> 
> Guenther
> 
> -- 
> Günther Deschner                    GPG-ID: 8EE11688
> Novell / SUSE LINUX                       gd at suse.de
> Samba Team                              gd at samba.org



> From: Noèl Köthe <noel at debian.org>
> Subject: Re: python error in 3.0.23pre1:
> Cc: samba-technical at lists.samba.org
> To: Guenther Deschner <gd at samba.org>
> Reply-To: samba-technical at lists.samba.org
> Message: 4
> 
> Am Dienstag, den 25.04.2006, 19:45 +0200 schrieb Guenther Deschner:
> 
> Hello Günther,
> 
> > > 3.0.23pre1 build failed on Debian sid/unstable with:
> 
> > > python/py_tdb.c: In function ???py_tdb_hnd_lock_bystring???:
> > > python/py_tdb.c:497: error: too many arguments to function ???tdb_lock_bystring???
> > > error: command 'gcc' failed with exit status 1
> 
> > This has already been fixed by Lars Mueller and is in subversion:
> > http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=15180&view=rev
> 
> Thanks for the info. I asked here at SambaXP and was asked to report it
> to this list. Sorry for reporting it again.
> 
> -- 
> Noèl Köthe <noel debian.org>
> Debian GNU/Linux, www.debian.org



> From: Martin Zielinski <mz at seh.de>
> Subject: (little) bug in DeletePrinter
> To: samba-technical at lists.samba.org
> Message: 5
> 
> Hello!
> 
> When a printer is added to samba, the printer sharename is converted to 
> lower-case and stored as part of the keys in the ntprinters.tdb.
> 
> When I try to delete a printer via the "DeletePrinter" rpc-call the 
> sharename is *not* converted to lowercase. Not in del_a_printer or 
> anywhere else.
> So the keys of the printer remain in the tdb, if the sharename contains 
> upper-case characters.
> 
> I've seen this in 3.0.20b and 3.0.23pre1.
> 
> Bye,
> 
> Martin
> 
> 
> -- 
> Martin Zielinski             mz at seh.de
> Software Development
> SEH Computertechnik GmbH     www.seh.de
> 

> From: Noèl Köthe <noel at debian.org>
> Subject: Re: python error in 3.0.23pre1:
> To: samba-technical at lists.samba.org
> Reply-To: samba-technical at lists.samba.org
> Message: 6
> 
> Am Dienstag, den 25.04.2006, 19:45 +0200 schrieb Guenther Deschner:
> 
> > This has already been fixed by Lars Mueller and is in subversion:
> > http://websvn.samba.org/cgi-bin/viewcvs.cgi?rev=15180&view=rev
> 
> thx. Then the build stops with this (there were no updates in svn):
> 
> make[1]: Leaving directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> /usr/bin/make -C source client/mount.cifs client/umount.cifs
> make[1]: Entering directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> gcc -g -Wall -O2 -D_SAMBA_BUILD_ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED   client/mount.cifs.c   -o client/mount.cifs
> gcc -g -Wall -O2 -D_SAMBA_BUILD_ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED   client/umount.cifs.c   -o client/umount.cifs
> client/mount.cifs.c:47:31: error: include/version.h: No such file or directory
> client/mount.cifs.c: In function 'main':
> client/mount.cifs.c:954: error: syntax error before 'SAMBA_VERSION_OFFICIAL_STRING'
> make[1]: *** [client/mount.cifs] Error 1
> make[1]: Leaving directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> make: *** [build-stamp] Error 2
> 
> The version code in 3.0.23pre1 client/mount.cifs.c is new (not in
> 3.0.22). When changing the include to "../include/version.h" it builds
> for me.
> 
> Do you prefer to get these problems for pre versions by email to this
> (or another) list or by bugzilla (there is no version 3.0.23pre1)?
> 
> -- 
> Noèl Köthe <noel debian.org>
> Debian GNU/Linux, www.debian.org



> From: "Gerald (Jerry) Carter" <jerry at samba.org>
> Subject: Re: (little) bug in DeletePrinter
> Cc: samba-technical at lists.samba.org
> To: Martin Zielinski <mz at seh.de>
> Message: 7
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Martin Zielinski wrote:
> > Hello!
> > 
> > When a printer is added to samba, the printer sharename is converted to
> > lower-case and stored as part of the keys in the ntprinters.tdb.
> > 
> > When I try to delete a printer via the "DeletePrinter" rpc-call the
> > sharename is *not* converted to lowercase. Not in del_a_printer or
> > anywhere else.
> > So the keys of the printer remain in the tdb, if the sharename contains
> > upper-case characters.
> > 
> > I've seen this in 3.0.20b and 3.0.23pre1.
> 
> Martin,
> 
> Thanks.  Good catch.  I'll fix this up right now.
> 
> 
> 
> 
> 
> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFET1WQIR7qMdg1EfYRApAPAJ9xgtGLp8iWPHA8rs9KdyEY/GQ+ewCfdtgX
> DukKhYAQhGXcm/lkXRkOqkQ=
> =WCbY
> -----END PGP SIGNATURE-----
> 

> From: "Gerald (Jerry) Carter" <jerry at samba.org>
> Subject: Re: python error in 3.0.23pre1:
> To: samba-technical at lists.samba.org
> Message: 8
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Noèl Köthe wrote:
> 
> > Do you prefer to get these problems for pre versions by email to this
> > (or another) list or by bugzilla (there is no version 3.0.23pre1)?
> 
> 
> I would rather deal with small compile issues here so they don't
> get filed away and are fixed in the next release.  The 3.0.23
> version number in bugzilla covers all 3.0.23{pre,rc,final} releases.
> 
> 
> 
> 
> cheers, jerry
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFET1d/IR7qMdg1EfYRApFsAKDkJGUeNNrxLxR9rNTcIHmxyfWJOgCgqNtt
> G1dg0jfPhmTu94wKPvybOPw=
> =+pvb
> -----END PGP SIGNATURE-----
> 


Content-Description: Digest Footer
> _______________________________________________
> samba-technical mailing list
> samba-technical at lists.samba.org
> https://lists.samba.org/mailman/listinfo/samba-technical


-- 
Viele Gruesse

Daniel Schwager

------------------------------------------------------------
DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-32               Fax: +49-711-849910-932
WEB: http://www.dtnet.de/    email: daniel.schwager at dtnet.de    


More information about the samba-technical mailing list