Gerald (Jerry) Carter | 1 Mar 01:18 2006
Picon

Re: "printer admin" still working in 3.0.21c?


Thomas Limoncelli wrote:
> is there anyone willing to point a lost soul into the right 
> direction? What can prevent a printer admin from changing printer
> properties through a Windows client? 
...
> [printers]
>         path = /var/spool/samba
>         create mask = 0644
>         printable = Yes
>         use client driver = Yes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thomas, See the man page for this option.  It should never be
set on printers for which you want to install drivers on the server.

cheers, jerry
simo | 1 Mar 02:34 2006
Picon

3.0.21c Debian Packages available on samba.org


I've just uploaded the 3.0.21c packages for sarge.
They should be soon available on the mirrors.

Have Fun,
Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra <at> samba.org
http://samba.org

--

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

adrian sender | 1 Mar 05:45 2006
Picon

Re: Samba 3 by Example - chapter 5 & 6 ( Manager -> sambaadmin)

Hi Gordon,

This is my admin-accts.ldif;
---------------------------------------------------------------
dn: cn=updateuser,dc=tinistuff,dc=com
objectClass: person
cn: updateuser
sn: updateuser
userPassword: {crypt}ABiELdbxGY2fY

dn: cn=sambaadmin,dc=tinistuff,dc=com
objectClass: person
cn: sambaadmin
sn: sambaadmin
userPassword: {crypt}ABiELdbxGY2fY

----------------------------------------------------------------

So the ldap server is stopped, I add these entries; and restart ldap.

[root <at> node1 scripts]# slapadd -v -l admin-accts.ldif
added: "cn=updateuser,dc=tinistuff,dc=com" (00000002)
added: "cn=sambaadmin,dc=tinistuff,dc=com" (00000003)
Error, entries missing!
  entry 1: dc=tinistuff,dc=com

[root <at> node1 programs]# ldapsearch -x -D "cn=sambaadmin,dc=tinistuff,dc=com" 
-W uid=sambaadmin
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
(Continue reading)

Gordon Messmer | 1 Mar 07:01 2006

Re: Samba 3 by Example - chapter 5 & 6 ( Manager -> sambaadmin)

adrian sender wrote:
> 
> [root <at> node1 scripts]# slapadd -v -l admin-accts.ldif
> added: "cn=updateuser,dc=tinistuff,dc=com" (00000002)
> added: "cn=sambaadmin,dc=tinistuff,dc=com" (00000003)
> Error, entries missing!
>  entry 1: dc=tinistuff,dc=com

If you dump the database, does "dc=tinistuff,dc=com" show up in there? 
It looks like the entry for the base DN is missing, which might explain 
the problems that you're having.

--

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

Craig White | 1 Mar 07:17 2006

Re: Samba 3 by Example - chapter 5 & 6 ( Manager -> sambaadmin)

On Wed, 2006-03-01 at 15:45 +1100, adrian sender wrote:
> Hi Gordon,
> 
> This is my admin-accts.ldif;
> ---------------------------------------------------------------
> dn: cn=updateuser,dc=tinistuff,dc=com
> objectClass: person
> cn: updateuser
> sn: updateuser
> userPassword: {crypt}ABiELdbxGY2fY
> 
> dn: cn=sambaadmin,dc=tinistuff,dc=com
> objectClass: person
> cn: sambaadmin
> sn: sambaadmin
> userPassword: {crypt}ABiELdbxGY2fY
> 
> ----------------------------------------------------------------
> 
> So the ldap server is stopped, I add these entries; and restart ldap.
> 
> [root <at> node1 scripts]# slapadd -v -l admin-accts.ldif
> added: "cn=updateuser,dc=tinistuff,dc=com" (00000002)
> added: "cn=sambaadmin,dc=tinistuff,dc=com" (00000003)
> Error, entries missing!
>   entry 1: dc=tinistuff,dc=com
> 
> 
> [root <at> node1 programs]# ldapsearch -x -D "cn=sambaadmin,dc=tinistuff,dc=com" 
> -W uid=sambaadmin
(Continue reading)

Matt Johnson | 1 Mar 10:57 2006
Picon
Picon

Re: hanging smbd(s) revisited

On Tue, 28 Feb 2006, Fermin Molina wrote:

>>>> Just to add -- our fcntl locking issue is on Linux, we've
>>>> seen it on 2.6.9, 2.6.13.1 and 2.6.15.3, running Mandrake 10.2.
>>>> locking.tdb is on a local disk. All smbd child processes are
>>>> blocked on apparently the same fcntl when it happens.
>>>
>>> Hmmm...ok.  That ruins my theory.  I thought you were on AIX
>>> as well.  And just to make sure, you are running Samba 3.0.21b
>>> as well?
>>
>> Correct -- 3.0.21b on Linux 2.6. We had the same problem with 3.0.20 but
>> it was MUCH more frequent... 3.0.21b seems to have reduced the frequency
>> of the problem occurring but it does still seem to be there.
>
> I have had exactly the same problem. I reported that in thread "Samba
> daemons hang trying to lock locking.tdb", about Jan 25.
>
> I had a NFS mount from another server and then shared with samba. I
> moved the information on that server localy to the Samba server
> (avoiding NFS). All goes ok from that change.
>
> I don't understand why it works, because all smbd daemons were hanging
> in the previously commented fcntl call, that locks "locking.tdb" (that
> was located in local filesystem, not in any NFS mounted shares).
>
> I'm using FC4 with last updates (kernel included) and samba 3.0.21b.

That's the one. We are indeed sharing volumes from the Samba server 
which have been mounted via NFS, perhaps this is indeed an issue? 
(Continue reading)

Fermin Molina | 1 Mar 14:09 2006
Picon

Re: hanging smbd(s) revisited

On Wed, 2006-03-01 at 09:57 +0000, Matt Johnson wrote:
> On Tue, 28 Feb 2006, Fermin Molina wrote:
> 
> >>>> Just to add -- our fcntl locking issue is on Linux, we've
> >>>> seen it on 2.6.9, 2.6.13.1 and 2.6.15.3, running Mandrake 10.2.
> >>>> locking.tdb is on a local disk. All smbd child processes are
> >>>> blocked on apparently the same fcntl when it happens.
> >>>
> >>> Hmmm...ok.  That ruins my theory.  I thought you were on AIX
> >>> as well.  And just to make sure, you are running Samba 3.0.21b
> >>> as well?
> >>
> >> Correct -- 3.0.21b on Linux 2.6. We had the same problem with 3.0.20 but
> >> it was MUCH more frequent... 3.0.21b seems to have reduced the frequency
> >> of the problem occurring but it does still seem to be there.
> >
> > I have had exactly the same problem. I reported that in thread "Samba
> > daemons hang trying to lock locking.tdb", about Jan 25.
> >
> > I had a NFS mount from another server and then shared with samba. I
> > moved the information on that server localy to the Samba server
> > (avoiding NFS). All goes ok from that change.
> >
> > I don't understand why it works, because all smbd daemons were hanging
> > in the previously commented fcntl call, that locks "locking.tdb" (that
> > was located in local filesystem, not in any NFS mounted shares).
> >
> > I'm using FC4 with last updates (kernel included) and samba 3.0.21b.
> 
> That's the one. We are indeed sharing volumes from the Samba server 
(Continue reading)

Thomas Riedrich | 1 Mar 15:19 2006
Picon

Can't log in new users

We have Samba 3.0.9 on SuSE acting as a PDC for our Windows clients 
(mainly XP, some 2k). We have the problem that sometimes newly created 
users can't log in, Windows says that the domain is not available. We 
checked all network settings on the client machines, and everythings 
fine, for our existing users also everything is okay. When I create a 
new user on the Samba server and try to log in, then I get the "domain 
not available" message again. A strange thing is that "net view 
server_name" on one of the clients very often says that the server has 
reached it's maximum connections, although we didn't specify a max 
connection limit. When a login attempt fails, there's no error at all in 
the Samba logs or in the Windows event log. When I just try to log in 
the new user again and again, then it sometimes suddenly works 
perfectly, and once it works it never fails again.

Any ideas what could be the problem? If you need more info, please tell me!

Thanks,
Tom
--

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

Gerald (Jerry) Carter | 1 Mar 14:33 2006
Picon

Re: Authenticating to AD with usernames containing dots


John Boothe wrote:
> Does *anyone* have info on how I can authenticate to Active 
> Directory using dotted usernames from a Linux machine?

You mean using the principal name and not the sAMAccountName,
right?  Not currently (at least not last time I looked).  I
admit we need to address this.

cheers, jerry
=====================================================================
I live in a Reply-to-All world.               -----------------------
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
Gerald (Jerry) Carter | 1 Mar 14:45 2006
Picon

Re: hanging smbd(s) revisited


Fermin Molina wrote:

> I don't know exactly, but when I moved the information 
> from NFS servers to local storage, the problems disappeared.

Samba assumes posix locking semantics on the filesystem.
NFS locking is broken.  You might try setting
'strict locking = no'.  If that doesn't work, you might
try 'posix locking = no' just as a test.

cheers, jerry

Gmane